Quick description of my problem:
Im trying to get the what it's the previous equity high that my strategy made, i mean the previous greater value that my automated strategy made so i can make my money management.
More description of my problem:
When i execute my strategy i see the equity graph, then i see the green dots (new highs) ,
now how in run-time can i get the value of my last green point.
so i can say PrevoisEquityHigh - CurrentNetProfit = How far im i from my Equity high. (in $)
Thanks in advance.
Im using EasyLanguage has my programming language
Last edited by juanman; April 8th, 2015 at 09:31 PM.
Reason: More info.
I found a way to do it,
I just monitor my NetProfit var, every time i get a new high i store the value in a intrabarpersits var, then even if my profit decrees i can now check my previous green point (high) because its stored in a variable.
Any other way will be accepted. Thanks