stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Backtesting with icustom on Empty4
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4152
Page 1 of 1
Author:  wonderwomanfx [ Fri Mar 06, 2015 10:12 am ]
Post subject:  Backtesting with icustom on Empty4

Hi,

I have been unable to find a solution to getting icustom to work in Backtest mode on Empty4, does anybody know of a solution?

Any feedback would be most appreciated

Take Care
ww x
Author:  SteveHopwood [ Sat Mar 07, 2015 6:34 pm ]
Post subject:  Backtesting with icustom on Empty4

What are you trying to do?

:xm:
Author:  wonderwomanfx [ Sun Mar 08, 2015 11:30 am ]
Post subject:  Backtesting with icustom on Empty4

HI Steve,

I am using a smoothed HA indicator on a higher time frame,and passing it's values to my EA on a lower time frame, it works fine in real time but when I try and backtest using the same setup icustom is not importing the values.

Code: Select all

   HAOpenLatestHTF = iCustom(NULL, HighTF, "Heiken_Ashi_Smoothed", 2, 1);
   HACloseLatestHTF = iCustom(NULL, HighTF, "Heiken_Ashi_Smoothed", 3, 1);
Thankyou for your time

Take Care
ww x
Author:  SteveHopwood [ Sun Mar 08, 2015 12:22 pm ]
Post subject:  Backtesting with icustom on Empty4

wonderwomanfx ยป Sun Mar 08, 2015 11:30 am wrote:HI Steve,

I am using a smoothed HA indicator on a higher time frame,and passing it's values to my EA on a lower time frame, it works fine in real time but when I try and backtest using the same setup icustom is not importing the values.

Code: Select all

   HAOpenLatestHTF = iCustom(NULL, HighTF, "Heiken_Ashi_Smoothed", 2, 1);
   HACloseLatestHTF = iCustom(NULL, HighTF, "Heiken_Ashi_Smoothed", 3, 1);
Thankyou for your time

Take Care
ww x
Crapergy Tester does not always respond to multiple time frames. Sometimes it does, sometimes not. It just occurred to me that perhaps it does not like multiple time-frames when dealing with Crap Custom Abortions.

As your calls work fine on demo but not in CT, then the fault is clearly with CT and there is nothing you can do about that.

Put indi value displays on your chart as I do, then run a visual backtest. You will know that you cannot use CT if the displays stubbornly remain at zero or EMPTY_VALUE.

:xm:
All times are UTC Page 1 of 1