Hi,
Is is possible to display the alert indicator arrows (red or green) on a chart when probuilder conditions are met for a give custom indicator?
e.g.
res=0
indicator1=Average[20](close)
c1=close crosses over indicator1
c2=close crosses under indicator1
if c1 then
res=1
elsif c2 then
res=-1
endif
return res as “AverageCross”
if c1 is true i’d live the green arrow displayed on the char location. Likewise for c2 as a red alert arrow.
Thanks in advance.
Yes it’s only possible with new version 10.3
You can find example of DRAWARROW codes here in the documentation:
http://www.prorealcode.com/documentation/drawarrowdown/
http://www.prorealcode.com/documentation/drawarrowup/