Skip to main content

BUY ON FIRST GREEN ARROW. for Amibroker (AFL)

chatpurpose about 12 years ago Amibroker (AFL)

  • Rating:
    4 / 5 (Votes 3)
  • Tags:
    trading system, amibroker

This is my first afl, SCREEN SHOT IS ENCLOSED. To buy the stock on first green+yellow arrow and to sell when the price starts looking downward, not necessarily wait until first down arrow. I have been trading profitably for the past 20 days.It is better to ignore the buy signals at major resistance areas such as contact points of trend line areas.The stress is given more on buy signals hence there are less number of buy signals and more sell signals.

Screenshots

Indicator / Formula

Copy & Paste Friendly
//**NIRMAL INDICATOR**//

MYVOL= IIf(((V-EMA(V,3))/EMA(V,3))*100>10,0,1);
VOLPERCENT=((V-EMA(V,3))/EMA(V,3))*100;
MYGAPUP=IIf(O>Ref(C,-1) AND O>Ref(O,-1) AND C>O AND ((C-Ref(C,-1))/Ref(C,-1))*100>1,1,0);
MYVALUE=IIf(MYGAPUP==1 AND Ref(MYGAPUP,-1)==1,1,0);
Buy=MFI(14)>=HHV(MFI(14),7) AND C>Ref(C,-1) AND C>O AND EMA(V,3)>EMA(V,10) AND RSI(14)<70 AND (EMA(V,5)>4000 OR V*C>500000) AND MFI(14)<72 AND C>Ref(O,-1) AND MYVALUE==0 AND MYVOL==0  ;
Sell=MFI(5)<=LLV(MFI(5),3) AND C<Ref(C,-1) AND C<O AND EMA(V,3)<EMA(V,10);
shapebuy=Buy*shapeUpArrow;
shapesell=Sell*shapeDownArrow;
color=IIf(Buy,colorGreen,IIf(C>Ref(C,-1),colorGreen,IIf(Sell,colorRed,colorBlack)));
Plot(Close,"close",Color,styleCandle);
PlotShapes(shapebuy,colorGreen,0,Low,Offset=-15);
VOLBUY=Buy AND VOLPERCENT>=20;
shapevol=VOLBUY*shapeUpTriangle;
PlotShapes(VOLBUY,colorYellow,0,Low,Offset=-25);
AlertIf( VOLBUY, "", "BUY @ " + C, 1 );
PlotShapes(shapesell,colorRed,0,High,Offset=-15);
Title = Name() + " " + Date()+" " + EncodeColor( colorBlue ) +"**********NIRMAL INDICATOR...HURRAY..********" +EncodeColor( colorRed )
+ " OPEN.... " + O + "... HIGH... " + H + "... LOW... " + L + " ...CLOSE.... "+ C + "...VOLUME INC. %..." + ((V-EMA(V,3))/EMA(V,3))*100 + "\n";


3 comments

about 12 years ago

Good work nirmal, looking good

will u add the same sell like, red +yellow also for short

about 12 years ago

hi…more accurate nirmal indicator v3 uploaded for approval. If the respected administrator approve it, you can see the afl with your requirements.

3. Ram23
about 11 years ago

Arrow marks are not visible. Even your V3 is usless.

Leave Comment

Please login here to leave a comment.