Tanks AndrewAMD

1-Perfect, i have to study that part, but have sense

2-I understand now Drawdown = just balance, but the MAE percentage is calculated in total shares bougth, so if you chage cuantity in the enterlong(); at the file 50 of the BuyHold.c script you get this:

enterLong(50); // Outcomes in BuyHold.txt--> Max drawdown -10.72$ 0.0% (MAE -5739$ 23.1%)
enterLong(150);// Outcomes in BuyHold.txt--> Max drawdown -32.17$ 0.0% (MAE -17217$ 23.1%)

So really MaxDrawdown and MAE is changing in amount but not in percentage.
I understand Zorro is thougth like that, but as i need to take care of maxdrawdwon in real time in my code, i will need to code some "real whole drawdown entire profolio+assets+cash at this moment not waiting trades are closed" in order to check the "real" drawdown of the thing.

function RealDrawdownNow_in_percentage() // I must code this

Many thanks, still fighting with zorro dayly , i gues i will get it with time, Zorro is impresive but for a newbie like me, something are still dificault to understand


Ernesto "Estorader"
Options Trader