MTF indicator not working MTF EA

Post Reply
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

MTF indicator not working MTF EA

Post by traderduke »

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
You do not have the required permissions to view the files attached to this post.
User avatar
zader
Trader
Posts: 90
Joined: Fri Jul 06, 2012 8:46 am
Location: Rundown NW England

MTF indicator not working MTF EA

Post by zader »

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.
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

MTF indicator not working MTF EA

Post by traderduke »

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
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Coders Hangout”