Amibroker open close 1st bar

#1
Dear Sir/Mam,
I trade with a 5 minute chart in Amibroker, i will like to plot the open & close of the 1st bar/stick i.e price for the first 5 minute on the chart & these lines should be the same for the full day.

Pl help me what will be the afl formula ..:) :)
 

_Rajesh_

Well-Known Member
#2
Dear Sir/Mam,
I trade with a 5 minute chart in Amibroker, i will like to plot the open & close of the 1st bar/stick i.e price for the first 5 minute on the chart & these lines should be the same for the full day.

Pl help me what will be the afl formula ..:) :)
Search this forum/google for Augubhai's ORB afl.
 

boarders

Well-Known Member
#3
x=valuewhen(day()!=ref(day(),-1),o);
y=valuewhen(day()!=ref(day(),-1),c);

Plot(x,"",coloryellow,styleLine|styleThick|styleNoRescale);
Plot(y,"",coloraqua,styleLine|styleThick|styleNoRescale);
 

Similar threads