need a afl

#1
i just want an afl which plot horizontal line @ 9.30 price
plus it should plot 2 line 15 point difference up & down
EG : if @ 9.30 nifty was @ 5900
then it should plot line on that price & 5915 , 5930 up
& 5885,5870 down
 

pratapvb

Well-Known Member
#2
i just want an afl which plot horizontal line @ 9.30 price
plus it should plot 2 line 15 point difference up & down
EG : if @ 9.30 nifty was @ 5900
then it should plot line on that price & 5915 , 5930 up
& 5885,5870 down
9.30 close?.....
also at 9.30 you can just u can just put ami horizontal lines and color them right? see menu Insert->horizontal line...as this needs to be done only 1 time in the day
 

mastermind007

Well-Known Member
#3
i just want an afl which plot horizontal line @ 9.30 price
plus it should plot 2 line 15 point difference up & down
EG : if @ 9.30 nifty was @ 5900
then it should plot line on that price & 5915 , 5930 up
& 5885,5870 down
Code:
C1 = ValueWhen((Day() == LastValue(Day()) AND TimeNum() == [COLOR="Red"]092959[/COLOR]), Close);
C2 = C1 + 15;
C3 = C1 - 15;
Plot(C1, "C1", colorBlack);
Plot(C2, "C2", colorBlack);
Plot(C3, "C3", colorBlack);
You base plotting interval needs to be 15 minutes or lesser and you need to adjust the red-colored bit in accordance to what it shows in your Ami. On my machine, 9:30:00 marks start of new candle and ending is one second prior.

Change name,title,color as per your need.
 

Similar threads