lundi 3 octobre 2016

need buy sell arrow to be plotted, plz help

plz plot buy arrow when atp line in brightgreen color and sell arrow in red color.
plz seniors help me
code for atp is pasted below

_SECTION_BEGIN("ATP");
B=Volume;
A=Avg;
Value=B*A;
Barsfromtodaybegin = 1 + BarsSince( Day() != Ref(Day(), -1));
Totalvalue=Sum(Value,Barsfromtodaybegin);
Totalvolume=Sum(V,Barsfromtodaybegin);
ATP=(Totalvalue/Totalvolume);
ColorATP=IIf(ATP>Ref(ATP,-1),colorBrightGreen,colorRed);
Plot(ATP,"ATP",colorATP,styleThick);
_SECTION_END();


need buy sell arrow to be plotted, plz help

Aucun commentaire:

Enregistrer un commentaire