Post Your Indicators/Strategy Here - I will Code EA for You!

Hi,

I just learnt MQL coding. I like to implement coding experince. Please post or PM me the indicator to be converted to EA or any strategy you have in your mind.

Please send MQL code of the indicator details of your Strategy.

Its Free Service for Limited time.

To Your Success
Sheriff

3 Likes

Hi Sheriffonline, I’ve bought an expensive robot,but the seller only coded it to run on demo account only but not the real live account. And the bad news is I couldn’t find the seller as he is disappear to nowhere.

I was wondering can you help me to make the robot works on live account?

Bad to hear that.if you have mql code i can try to work for live account. if you have PM me the file, i will try my best.

Million thanks for willing to help me out! :slight_smile:
I will upload the robot files and manual to you.

@EzioK,
what´s the name of the EA?
To be sure nobody else wil buy it again.
Because scammers and bandits just disappear to appear somewhere else in the web.
Are you sure you have the source code?

I dunno what’s the name of that robot. I have no idea what the source code is?
Can I have your email address so that I can send you the EA?

i think you don´t need my email, i cannot code and i am also a beginner :wink:
The data the man sent to you must have a name, like “iamabadea.mt4”, doesn´t it?

Correct me if i am wrong, sheriff.
A EA needs two files, one is the executional file, the one that trades, it´s ending is “.mt4”.
And there is the source code, it´s another file with this ending: ".mq4"
Just to trade, the “.mt4” file is enough.
But if you wanna change it, you need the “.mq4”.

Sheriff, have you receive my email? I’ve sent you the EA.

Please help me with this strategy. It’s the combination of 100 EMA and stoch(8,3,3)

Sell Trades:

  1. Price must be below the EMA(100) line. Furthermore at least the previous candle must have closed below the EMA. As you will notice price does not cross the EMA very often, when it does it is quite significant and normally implies that a change in the trend is imminent. Therefore, as we want to minimise trading risk, we wait until price is established below the EMA.

  2. Once the first condition has been met, we now focus on the stochastic indicator. The fast stochastic line must have crossed over the slow stochastic line from above and it must be between 20 and 80. If the cross has occurred between 100 and 80, we must wait until the stochastic crosses the 80 line.

  3. Once the stochastic criteria have been met, place a sell trade at the opening of the very next daily candle.

  4. Place a stop loss 150 pips above the entry price. If you are trading a more active currency pair like the GBPUSD, where price swings can be large, the stop loss should be at least 200 pips. Remember you are dealing with the Daily charts, not the 1H or 15M charts so the stop loss level needs to be appropriate for the time frame used.

  5. Assuming that the trade is moving with the trend in the anticipated direction, price at some point will hopefully show a gain of +100 pips. When this has occurred, move the stop loss position to the entry price, to ensure the remainder of the trade is risk free.

  6. Close the trade at the end of the daily candle when the 2 stochastic lines cross once again. For a trade close-out, it does not matter where the two lines cross on the stochastic indicator channel.

Buy Trades

  1. Price must be above the EMA(100) line. Furthermore at least the previous candle must have closed above the EMA. As you will notice price does not cross the EMA very often, when it does it is usually quite significant and normally implies that a change in the trend is imminent. Therefore, as we want to minimise trading risk, we wait until price is established above the EMA.

  2. Once the first condition has been met, we now focus on the stochastic indicator. The fast stochastic line must have crossed the slow stochastic line from underneath and it must be between 20 and 80. If the crossover has occurred between 0 and 20, we must wait until the stochastic crosses the 20 line.

  3. Once the stochastic criteria have been met, place a buy trade at the opening of the very next daily candle.

  4. Place a stop loss 150 pips above the entry price. If you are trading a more active currency pair like the GBPUSD, where price swings can be very large, the stop loss should be at least 200 pips. Remember you are dealing with the Daily charts, not the 1H or 15M charts, so the stop loss level needs to be appropriate for the time frame used.

  5. Assuming that the trade is moving with the trend in the anticipated direction, price at some point will hopefully show a gain of +100 pips. When this has occurred, move the stop loss position to the entry price, to ensure the remainder of the trade is risk free.

  6. Close the trade at the end of the daily candle when the 2 stochastic lines have crossed once more. For a close-out, it does not matter where the stochastic lines cross on the stochastic indicator channel.

1 Like

hi,

your rar file was corrupted.there are many missed files. please send the files you received from seller. you sent your metatrader folder with missed files.

i can edit the file only if you send mql file or original files you get from seller.

I added following conditions as per your request.

  1. Price must be below the EMA(100) and Price must closed below 100EMA for previous candle also.
  2. stochastic line must have crossed over the slow stochastic line from above and it must be between 20 and 80.
    wait until the stochastic crosses the 80 line

if both conditions ok gofor sell.added trail s/l breakeven features with partial profit close.

Buy:

vice versa for above conditions.

i still don’t understand that close the orders on daily candle close.please breify all opened orders to be closed on
end of the day trade closing time whether profit/loss?

I attached ex4. if everything ok i upload the mql code here.

Backtested for 1 year with order size 0.10:

Bars in test 1293
Ticks modelled 23002
Modelling quality n/a
Mismatched charts errors 0
Initial deposit 10000.00
Total net profit 131.70
Gross profit 688.42
Gross loss -556.72
Profit factor 1.24
Expected payoff 0.21
Absolute drawdown 13.29
Maximal drawdown 86.07 (0.85%)
Relative drawdown 0.85% (86.07)
Total trades 640
Short positions (won %) 410 (94.15%)
Long positions (won %) 230 (94.35%)
Profit trades (% of total) 603 (94.22%)
Loss trades (% of total) 37 (5.78%)
Largest
profit trade 4.55
loss trade -15.22
Average
profit trade 1.14
loss trade -15.05
Maximum
consecutive wins (profit in money) 68 (83.03)
consecutive losses (loss in money) 1 (-15.22)
Maximal
consecutive profit (count of wins) 83.03 (68)
consecutive loss (count of losses) -15.22 (1)
Average
consecutive wins 16
consecutive losses 1

To Your Success
Sheriff

tumen051.zip (9.85 KB)

Hi Sheriff, any luck with my robot?


Hello Sherrff,

Thanks very much and I really appreciate your effort and I never knew your are a guru in this. What you said you don’t understand is the exit. The exit is when the stochastic crosses each other again as opposed the entry signal for the stochastic e.g for sell exit the slow must have crossed over the fast stochastic so as to exit the trade and it doesn’t matter wherever it cross between 100 to 0, and for long exit is vice versa

Tumen05

Hi Sheriff,

 Could you please share some materials on MQL coding. 

Thanks in advance

Regards,
Vijai

Hello Sheriff, I’m also looking for some help at translating a strategy into an EA:

Use current Time Frame, Use current Currency
Ability to set start and end hours traded
Ability to set Take Profit, Stop Loss, Trailing Stop
Set Take Profit and Stop Loss to 2 x ATR value?
Indicators:
Bollinger Bands (Period: 20, Deviations: 1.65), SMA 20 (middle BB), Parabolic SAR (Step: 0.02, Maximum: 0.2, Precision: 7), ADX(14), ATR(14)

Rules:
Open a long position if the Parabolic SAR reverses and appears below the lower Bollinger Band and the first candle of the reversal closes above the middle Bollinger Band.
If the first candle of the reversal does not close above the middle Bollinger band, wait until a green candle closes above the middle BB and the Parabolic SAR is still below the lower BB.
Only open new position if the ADX(14) base line is greater than 20.
Only open new position if the ATR(14) is greater than 0.0005.

Exit the long position if the Parabolic SAR reverses again and appears above the current candle AND the candle closes below the middle BB.
TP = open price + (2 times ATR value)
SL = open price - (2 times ATR value) *might want to edit the SL to equal 1.5 times ATR value

Open a short position: Reverse of the rules for the long position.

Ability to set Max Stop Loss.

I’ve made an attempt at setting up the logic behind the above rules:

Open Long
1: (+1) previous Parabolic SAR > high
2: (+1) previous close > SMA 20 (middle Bollinger Band)
3: (+0) current Parabolic SAR < lower Bollinger Band (20, 1.65)
4: (+0) current open > SMA 20
5: (+0) current ADX(14) > 20
6: (+0) current ATR(14)>=0.0005

OR

1: (+2) previous Parabolic SAR < lower Bollinger Band (20, 1.65)
2: (+2) previous close < SMA 20
3: (+1) previous Parabolic SAR < lower Bollinger Band (20, 1.65)
4: (+1) previous close > open
5: (+1) previous close > SMA 20
6: (+0) current open > SMA 20
7: (+0) current ADX(14) > 20
8: (+0) current ATR(14)>=0.0005
9: (+0) current ADX(14) > 20
10: (+0) current ATR(14)>=0.0005

Exit Long:
1: (+1) previous Parabolic SAR > high
2: (+1) previous close < SMA 20
OR
TP = buy + (2 x ATR)
SL = buy - (2 x ATR)

Open Short
1: (+1) previous Parabolic SAR < low
2: (+1) previous close < SMA 20
3: (+0) current Parabolic SAR > higher Bollinger Band (20, 1.65)
4: (+0) current open < SMA 20
5: (+0) current ADX(14) > 20
6: (+0) current ATR(14)>=0.0005

OR

1: (+2) previous Parabolic SAR > higher Bollinger Band (20, 1.65)
2: (+2) previous close < SMA 20
3: (+1) previous Parabolic SAR > higher Bollinger Band (20, 1.65)
4: (+1) previous close < open
5: (+1) previous close < SMA 20
6: (+0) current open < SMA 20
7: (+0) current ADX(14) > 20
8: (+0) current ATR(14)>=0.0005
9: (+0) current ADX(14) > 20
10: (+0) current ATR(14)>=0.0005

Exit Short:
1: (+1) previous Parabolic SAR < low
2: (+1) previous close > SMA 20
OR
TP = buy - (2 x ATR)
SL = buy - (2 x TR)

Thank you for your offer!

Hi,

Your Strategy done:

Following conditions applied for long:
1: (+2) previous Parabolic SAR < lower Bollinger Band (20, 1.65)
2: (+2) previous close < SMA 20
3: (+1) previous Parabolic SAR < lower Bollinger Band (20, 1.65)
4: (+1) previous close > open
5: (+1) previous close > SMA 20
6: (+0) current open > SMA 20
7: (+0) current ADX(14) > 20
8: (+0) current ATR(14)>=0.0005
9: (+0) current ADX(14) > 20 (Hope this is double Entry same like
above condition)
10: (+0) current ATR(14)>=0.0005 (Hope this is double Entry same like
above condition)

Following conditions applied fo Exit Long:
1: (+1) previous Parabolic SAR > high
2: (+1) previous close < SMA 20

Following conditions applied for Short:
1: (+2) previous Parabolic SAR > higher Bollinger Band (20, 1.65)
2: (+2) previous close < SMA 20
3: (+1) previous Parabolic SAR > higher Bollinger Band (20, 1.65)
4: (+1) previous close < open
5: (+1) previous close < SMA 20
6: (+0) current open < SMA 20
7: (+0) current ADX(14) > 20
8: (+0) current ATR(14)>=0.0005
9: (+0) current ADX(14) > 20 (Hope this is double Entry same like
above condition)
10: (+0) current ATR(14)>=0.0005 (Hope this is double Entry same like
above condition)

Following conditions applied fo Exit Short:
1: (+1) previous Parabolic SAR < low
2: (+1) previous close > SMA 20

Following customize settings done:
Use current Time Frame, Use current Currency
Ability to set start and end hours traded (only want to trade from 6am
CST - 1pm CST, but may want to edit this)
Ability to set Take Profit, Stop Loss, Trailing Stop

Please download the attachment.if you need mql code i can send you when there is no updates you need.
Please review my service here, if you are satisfied.

To Your Success,
Sheriff

Kathy.zip (14.1 KB)

1 Like

Thank you for review my service. i add the exit conditions and back here.

What materials you need? you can learn by mql4(dot)com,etc…

Sorry! i don’t find any mql files you sent.

Hi Sheriff,

Could you please share the Mq4 file of the Kathy.ex4 . just for learning

Thanks in advance
regards,
Vijai

Hi,

here it is…

Kathy-mq4.zip (2.35 KB)