I'd like to see how you accomplish that in an EA.
.
2009.08.13 20:51:07 Expert x EURUSD,M5: loaded successfully
2009.08.13 20:51:07 Expert 'x' is an indicator and cannot be executed
2009.08.13 20:51:07 Expert x EURUSD,M5: removed
Not sure what ur doing there.
I am taking about iCustom.
BB
hey brian..... it's possible for the values to be different....... now as to whether it's a problem or not for your situation, of course we could not say without knowing more.....
//----------------
i code experts and indicators all day everyday ...... seldom post replys due to lack of time..... but your deal here has me courious.......
could it be possible your using a template, and the template includes both the ea and the indicator....... or are you running backtests and then opening the charts and seeing the indicators..... or are you running backtests and your "tester template" contains the indicator......
basically what i'm asking are you absolutely sure the ea is ploting the indicator in a seperate window.....
i can visualize an ea ploting "lines" and such using the object functions....
if(ObjectFind("Next Buy") == -1)
{
ObjectCreate ("Next Buy", OBJ_HLINE, 0, Time[0], NextBuy());
ObjectSet ("Next Buy", OBJPROP_WIDTH, 1); //1 to 5.
ObjectSet("Next Buy",OBJPROP_COLOR,Blue);
ObjectSet ("Next Buy", OBJPROP_STYLE, STYLE_SOLID);
}
else
{
ObjectMove("Next Buy", 0, Time[0], NextBuy());
}
if(ObjectFind("Next Sell") == -1)
{
ObjectCreate ("Next Sell", OBJ_HLINE, 0, Time[0], NextSell());
ObjectSet ("Next Sell", OBJPROP_WIDTH, 1); //1 to 5.
ObjectSet("Next Sell",OBJPROP_COLOR,Red);
ObjectSet ("Next Sell", OBJPROP_STYLE, STYLE_SOLID);
}
else
{
ObjectMove("Next Sell", 0, Time[0], NextSell());
}
//-------------------
........ holler back if ya have the time, we should be able to figure out your problem.......h
//----
and btw, even though you might not feel it now, phy is one of the most knowlegable mq4 contributers.........h
I have my limits.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
The EA draws the indicator I use in iCustom in seperate window. It seems the values posted in this window differ from the ones the EA uses.
Is this a common problem ?
Thanks, BB