Awesome System 0

Posted on 3, March 2014

in Category SID


Description for Awesome SID 970

This system uses the Awesome Oscillator developed by Bill Williams. The histogram type oscillator was used to compare trading momentum between a short period against a long period. The aim was to provide a wider range of data to assist in entry decisions.

Awesome System/sid Notes for this Trading Account:

This system uses the Awesome Oscillator developed by Bill Williams. The histogram type oscillator was used to compare trading momentum between a short period against a long period. The aim was to provide a wider range of data to assist in entry decisions. When using the AO, one would look for patterns such as pikes, saucers and cross overs.

System breif:

– 1 Hour.
– EURUSD, GBPUSD.
– Trades fixed units.

Awesome System/sid Rules for this Trading Account:

Awesome System/sid Notes for this Trading System:

Awesome System/sid Rules for this Trading System:

Awesome System/sid Bar event logic:

#Awesome Oscillator.
my $ao = AO();

#If there are no positions in the current symbol...
if(NoPosition){
	
	#If pike patterns have been identified...
	if($pike1!=0 && $pike2!=0 && $pricePike1!=0 && $pricePike2!=0){
		#Go long when the current AO value is below 0, there is a bullish convergence indentified within the AO oscillator and the candlestick patterns.
		BuyOpen() if Now($ao)<0 && $pike1>$pike2 && $pricePike1>$pricePike2;
		#Go short when the current AO value is above 0, there is a bearish convergence indentified within the AO oscillator and the candlestick patterns.
		SellOpen() if Now($ao)>0 && $pike1<$pike2 && $pricePike1<$pricePike2;
	}

}else{

	PlaceSellOpen('AO_Close_Buy') if Now($ao)>0 && $pike1!=0 && $pike2!=0 && LongPosition;
	PlaceBuyOpen('AO_Close_Sell') if Now($ao)<0 && $pike1!=0 && $pike2!=0 && ShortPosition;

}


#Record Price Pikes.
$pricePike1 = 0 if (Previous($ao)>0 && Now($ao)<0) || (Previous($ao)<0 && Now($ao)>0);
$pricePike2 = 0 if (Previous($ao)>0 && Now($ao)<0) || (Previous($ao)<0 && Now($ao)>0);

if( Now($ao)>0 && Ago(Close,2)>Ago(Open,2) && Previous(Close)>Previous(Open) && ClosePrice<OpenPrice ){

	$pricePike2 = $pricePike1;
	$pricePike1 = Previous(High);

}elsif( Now($ao)<0 && Ago(Close,2)<Ago(Open,2) && Previous(Close)<Previous(Open) && ClosePrice>OpenPrice ){

	$pricePike2 = $pricePike1;
	$pricePike1 = Previous(Low);

}

#Record AO pikes.
$pike1 = 0 if (Previous($ao)>0 && Now($ao)<0) || (Previous($ao)<0 && Now($ao)>0);
$pike2 = 0 if (Previous($ao)>0 && Now($ao)<0) || (Previous($ao)<0 && Now($ao)>0);

if( Now($ao)>0 && Ago($ao,2)<Previous($ao) && Previous($ao)>Now($ao) ){

	$pike2 = $pike1;
	$pike1 = Previous($ao);

}elsif( Now($ao)<0 && Ago($ao,2)>Previous($ao) && Previous($ao)<Now($ao) ){

	$pike2 = $pike1;
	$pike1 = Previous($ao);

}

Awesome System/sid OrderFill event logic:

PlaceStopLoss('AO_StopLoss_B',EnterPrice-(50*PipValue())) if LongPosition;
PlaceStopLoss('AO_StopLoss_S',EnterPrice+(50*PipValue())) if ShortPosition;

0 Comments

Leave a Message