- Search Energy EXCH
-
RaptorUK replied Jun 27, 2013They look like pending orders . . . the EA doesn't close pending orders . . . if(OrderType() == OP_SELL || OrderType() == OP_BUY ) . . . only open market orders. I'll have a look at adding the text label tomorrow, had other family commitments today.
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 27, 2013The code takes no notice of Magic Numbers at all . . . there is an input/parameter called MagicNumber but it isn't used . . . If a trade fails to close there will be an error logged in the experts tab/log, please check it and post any errors here. ...
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 26, 2013You don't need to encode the Symbol in the Magic Number, just use OrderSymbol() . . . I have a unique Magic umber for each of my EAs and then I add on an integer to represent the period.
Encoded MagicNumber
-
RaptorUK replied Jun 26, 2013Perhaps jvbs could answer this question ?
Hi guys, I need an engulfing indicator with alert signal
-
RaptorUK replied Jun 26, 2013Perhaps you can answer my question in your thread ?
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 25, 2013Examples are no good on their own, you need to give a full specification, why is 7 a different case to 10 ? your examples don't tell me this . . . where is your full specification that does tell me ?
Hi guys, I need an engulfing indicator with alert signal
-
RaptorUK replied Jun 24, 2013I think you misunderstand, your requirements were not clear, I think they are cleaner now but I am not offering to code an EA for you. I have an EA to code for myself and some colleagues, and it is way behind schedule.
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 24, 2013There is a useful reference table here: url
Please Help convert indi to EA
-
RaptorUK replied Jun 24, 2013Not all Indicators function correctly in the Strategy Tester though, some will, some won't. For example an Indicator that uses Bid will get the current Bid price not the Bid price on the Strategy Tester chart, this can be worked around by using ...
Please Help convert indi to EA
-
RaptorUK replied Jun 24, 2013iCustom() and Detailed explanation of iCustom - MQL4 forum You use iCustom() to get the buffer values from your Indicator, then you can make your trade decisions based on this information. If you really want to get your Indicator code working in an ...
Please Help convert indi to EA
-
RaptorUK replied Jun 24, 2013It's not my code, I just made some mods. The other problem was here . . . if(MaxProfit > ProfitLevel && !ProfitLevelSet) // modified by RaptorUK { GetOutLevel = MaxProfit-ProfitLevel; ProfitLevelSet = true; } my modification didn't help . . .
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 24, 2013Sorry, I missed your original post, yes you were partly correct, there were other issues too. Reading and understanding other people's code is a fast way to learn, it helps you focus on what you don't yet understand, then you can research and find ...
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 24, 2013Why ? what is the problem with using iCustom() in your EA ?
Please Help convert indi to EA
-
RaptorUK replied Jun 24, 2013What error do you get shown in the experts tab ?
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 24, 2013That is what you use the Strategy Tester for . . . testing.
Please Help convert indi to EA
-
RaptorUK replied Jun 24, 2013It is not a simple task to make an Indicator work as an EA . . . but why would you need to ? just use iCustom() to get the Indicator buffer values into your EA.
Please Help convert indi to EA
-
RaptorUK replied Jun 24, 2013Glad to hear it . . . the CurrentProfit was being calculated on each tick, that is OK but it was a running total and was adding to the CurrentProfit calculated for the last tick so it was incorrect . . . This fixed it . . . CurrentProfit = 0.0; // ...
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 24, 2013Soat close time if there are open orders you want them left open ? you want the close time to be at the specified time - 1 second ? otherwise what should happen at 17:00 when there is a new bar ? check for trades based on the close of the last bar, ...
I will code your EAs and Indicators for no charge
-
RaptorUK replied Jun 24, 2013OK, my testing suggests that this is now working . . . sorry for the cock-up.

I will code your EAs and Indicators for no charge