Hello All,
I need a script to write the below stats values for existing expert advisors (withing the range from 0 to 1) to csv file ;
for long entry =(maximum price(highest high) - entry price)/( maximum price(highest high) - minimum price(lowest low) ;
for short entry=( entry price - minimum price(lowest low) )/( ( maximum price(highest high) - minimum price(lowest low) ;
value withing the range must be from 0 to 1.
For illustration ,similar to one in Ninjatrader https://ninjatrader.com/support/helpGuides/nt7/?efficiency_graphs.htm
Thanks