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

MTF indicator not working MTF EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3950
Page 1 of 1
Author:  traderduke [ Mon Nov 24, 2014 1:58 am ]
Post subject:  MTF indicator not working MTF EA

Help!
I have a mtf indicator and I can't seem to get the EA to use the MTF of the indicator any suggestions??

the top chart is an 30min chart with the XO -mtf-240 clearly the arrows mark the up & the down.
the second chart is a 30min backtest, not working see lines 253-255 in the EA, Please!
the EA is a work in progress.

thanks
Ray
Author:  zader [ Mon Nov 24, 2014 7:59 am ]
Post subject:  MTF indicator not working MTF EA

I think you need to declare all the indicators inputs in the EA and list them in the iCustom call(there's alot :o ), so your iCustom should look like this

Code: Select all

trendxo = iCustom(NULL,timeFrame,Indic_Name,TimeFrame, BoxSize,
ShowArrows,arrowsIdentifier, arrowsUpColor, arrowsDnColor, alertsOn,
alertsOnCurrent, alertsMessage, alertsSound, alertsEmail, showValues,
Valueloc, valueIdentifier, txtUpColor, txtDownColor, verticalLinesVisible,
LineIdentifier, verticalLinesUpColor, verticalLinesDownColor,
verticalLinesStyle, verticalLinesWidth,4,0);
This is just off the top of my head and I haven't tested it.
Author:  traderduke [ Mon Nov 24, 2014 12:55 pm ]
Post subject:  MTF indicator not working MTF EA

Zader
thanks for the reply. I thought the indicator's default settings kicked in if the EA didn't specify any changes?? I'll try loading all the indicator inputs.

thanks

Ray

PS: I used a clean indicator but still the problem exists
All times are UTC Page 1 of 1