Current Market Price AFL Font Size

aggy

Active Member
#12
With this type of short message, how on earth you expect me to know what going on on your side ?
yeah i got that actually the code showing the HIGH values and i want the last trade price. sorry for inconvenience. I don't want price chart i just need last trade price display on price chart which is actually displaying with my code but i can't figure out how to BOLD/CHANGE FONT SIZE of that.
 
Last edited:

KelvinHand

Well-Known Member
#13
yeah i got that actually the code showing the HIGH values and i want the last trade price. sorry for inconvenience. I don't want price chart i just need last trade price display on price chart which is actually displaying with my code but i can't figure out how to BOLD/CHANGE FONT SIZE of that.
Your observation is quite poor.

In the code, I given you the param("Font.Size"). Can you experiment it ?
 
Last edited:
#15
Respected Seniors,
Anybody can help me
This AFL is buy/sell signal giving at actual bar but I want to put signal at next bar when cross prev. bar High then buy signal come; and when price bar cross down ATP then next bar if cross low of prev. bar then sell signal come.

_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();

plot(c,"",3,64);
Buy =Cross(C,atp);
Sell=Cross(atp,C);
PlotShapes(shapeUpArrow*Buy,5,0,L,-10);
PlotShapes(shapeDownArrow*Sell,4,0,H,-10);
 
#16
Respected Seniors,
Anybody can help me.
This AFL is buy/sell signal giving at actual bar but I want to put signal at next bar when cross prev. bar High then buy signal come; and when price bar cross down ATP then next bar if cross low of prev. bar then sell signal come.

_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();

plot(c,"",3,64);
Buy =Cross(C,atp);
Sell=Cross(atp,C);
PlotShapes(shapeUpArrow*Buy,5,0,L,-10);
PlotShapes(shapeDownArrow*Sell,4,0,H,-10);


Thanks if you can!!!!:clapping:
 

Similar threads