Hi,
Does anyone know how to draw the DrawDown in a graph under the equitycurve? Something like the image attached
Thanks in advance
The second one is great, thanks!
I just changed the penultime line to graph value instead of percentage
if longonmarket then
floatingProfit = (((low - positionprice ) * pointvalue) *countofposition) / pipsize
endif
if shortonmarket then
floatingProfit = (((high - positionprice) * pointvalue) * abs(countofposition)) / pipsize
endif
floatingEquity = StrategyProfit + floatingProfit
maxequity = max(maxequity, StrategyProfit + floatingProfit)
ddvalue = MIN(0,floatingequity - maxequity)
graph ddvalue