Connect with us

Amibroker

Mid Day Breakout Amibroker afl

Mid Day Breakout Amibroker aflMid Day Breakout Amibroker afl strategies for share market and calculates the center point of yesterdays move if the price breaks above the yesterday center point it takes a buy and break below center point it takes a short.

This breakout strategies for share market for just follow the rules and continue

SetChartOptions(0,chartShowArrows|chartShowDates); 
_N(Title = Date()+ EncodeColor(colorWhite)+"OPEN:"+ Open+" ,"+"HIGH:"+High+" ,"+"LOW:"+Low+" , "+"CLOSE:"+Close ); 
Plot(Close,"",colorDefault,styleCandle); 

   
DayO = TimeFrameGetPrice("O", inDaily,-1); 
DayH = TimeFrameGetPrice("H", inDaily, -1);   
DayL = TimeFrameGetPrice("L", inDaily, -1);   
DayC = TimeFrameGetPrice("C", inDaily, -1);   

Buy=C>(DayL+Dayh)/2 AND C>DayO;
Short=C<(DayL+Dayh)/2  AND C<Dayo;
Sell=   Short;
Cover=  Buy ;
Buy=ExRem(Buy,Sell);    Sell=ExRem(Sell,Buy); 
Short=ExRem(Short,Cover);  Cover=ExRem(Cover,Short);


PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorGreen, 0,Low,-10);  
 PlotShapes(IIf(Short, shapeDownArrow, shapeNone),colorRed, 0,High,-10); 

Download Mid Day Breakout Amibroker afl

Next post

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 57 other subscribers

Trending