Forex Zone | Forex Forum

Easier EA

Discussion started on New EA Coding

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_xx
This EA should be easier to compile.
Indicators required:
Accelerator Oscillator: Levels to be input variables (user to define levels, default as per MT4 Indicator)
MA RSI Arrows, (available on this site): Again Inputs to be editable by user 
Signals:
If the MA RSI crossed up, (green arrow) AND Accelerator is a green line bigger or smaller than the levels, (If levels are .000125 , -.000125, then green line must be >.000125 or <-0.000125) In between those levels is a no signal. And EA must continue trade in the last position.
On opposite signal, close and reverse.
TP: 50 pips on 50% of the position, balance closed and reversed on opposite signal. 
No S/L
If same signal appears in wrong direction, add to the position, but not when sell (buy) signal appears below (above) open position. Eg, Sold at 1.1500, and sell signal at 1.1530, sell another position with same TP rules. Sold at 1.1500, sell signal at 1.1485, no adding, (Unless the user wants to set it as a variable to add to the winning position)
Lot size, option of fixed lot size or % of margin


Linkback: https://www.forex.zone/new-ea-coding/26/easier-ea/131/
#1 - August 01, 2018, 01:48:59 AM

  • Posts: 225
  • Points: 323
  • Likes Received: 122
  • Reputation: +16/-1
Easier EA in New EA Coding_clip
Hi,

a nice idea. I used this indi. Please test it. Thanks

#2 - August 01, 2018, 11:38:32 PM
Attachments:

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_xx
Thank you
I will post the results
#3 - August 02, 2018, 07:18:45 AM

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_clip
This EA opens a position in every candle. 
It should only open a long position when the RSI crosses above the MA, AND the AC  has a green value of -.000125 (user input value) or green value of 0.000125 (user input)
Shorts only when RSI crossed below MA, AND the AC has a red value same as above
Thank you
Please see attached image

#4 - August 02, 2018, 07:53:14 AM
Attachments:

  • Posts: 225
  • Points: 323
  • Likes Received: 122
  • Reputation: +16/-1
Easier EA in New EA Coding_clip
Oh, AC must be green/red... Fixed.
#5 - August 02, 2018, 10:02:47 AM
Attachments:

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_xx
Thank you
#6 - August 02, 2018, 09:05:30 PM

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_xx
The AC is better now, thanks, but the EA enters a trade on nearly every AC value in the right color and value, but it must  use the MA RSI indicator as a entry signal, and AC as confirmation.
If you look at the image I posted earlier, you will see there are only 10 signals in the whole screen, at this stage the EA enter about 10 every hour ;)
A red arrow, or RSI cross down, is a signal, if the AC is also red and bigger or smaller than the value set, will the EA take the signal.
IS it also to put a variable for nr of position? And a TP for position 1, TP for pos 2, etc?
(Reason for this is, my broker allows hedging, so I can't take half of a position out of the market, if I sell 0.5 lots, I can't take eg 20 pips on 0.25 lots and let the rest ride to the next signal, I have to sell 2 X 0.25 lots, with TP limit order on 1 and the other without a limit, or at a different value)
I think many trader will like this feature too, because most of the majors yield an average of 35 pips on these signals, so if half your possie is out at +35, and you get a reverse signal at -20, (which doesn't happen often), then at least you are still +15 for the trade
The other inputs are excellent, thanks so much
#7 - August 02, 2018, 09:27:02 PM

  • Posts: 225
  • Points: 323
  • Likes Received: 122
  • Reputation: +16/-1
Easier EA in New EA Coding_clip
It's strange. See how it works in my MT4.

Please check the "Journal" tab in the strategy tester for errors. Thank you.
#8 - August 02, 2018, 10:32:16 PM
Attachments:

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_clip
Do you use every tick? Or open prices.
Just BTW, this works better on EURUSD M30
GBPUSD, AUDUSD, USDCAD in H1
The latter 3 should actually work in conjunction with the IN1 indicator which I tried to explain in my other post.
EUR also behaves with it, but again more in M30 than H1
I will also attach the indi here, I explain in my other post why... 
#9 - August 02, 2018, 11:22:50 PM
Attachments:

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_xx
The other post I refer to is "New EA coding needed"

Also then, :-[, apologies, my Arrows are in a separate Indicator folder, I moved it to the main folder now, will test again, thanks
#10 - August 02, 2018, 11:26:33 PM

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_xx
Very good.
Thank you very much. Now just to get the perfect inputs so all the screens can look like the one attached. ;D
I will post set files and time frames if others are interested.
#11 - August 02, 2018, 11:42:36 PM

  • Posts: 13
  • Points: -15
  • Likes Received: 1
  • Reputation: +1/-0
Easier EA in New EA Coding_xx
Oh, AC must be green/red... Fixed.
Thanks for all the hard work you do coding EA's. Good job!
#12 - August 03, 2018, 03:10:00 PM

  • Posts: 225
  • Points: 323
  • Likes Received: 122
  • Reputation: +16/-1
Easier EA in New EA Coding_xx
Thanks::)
#13 - August 04, 2018, 09:55:29 AM

  • Posts: 352
  • Points: 71
  • Likes Received: 144
  • Reputation: +11/-0
Easier EA in New EA Coding_xx
Good day Mr Crazyprog.
Is it possible to add the option for a S/L, again user defined S/L , trailing stop, or option not to use S/L?

Also, I see many views on this topic, are there any users who came up with good settings, I'm sure we would all like to see your settings/results.
I will post my set files when I am done.
#14 - August 06, 2018, 07:59:40 AM

  • Posts: 225
  • Points: 323
  • Likes Received: 122
  • Reputation: +16/-1
Easier EA in New EA Coding_xx
Good day Mr Crazyprog.
Is it possible to add the option for a S/L, again user defined S/L , trailing stop, or option not to use S/L?
Hi,

I'll check it and let you know.
#15 - August 06, 2018, 04:12:52 PM

Members:

0 Members and 1 Guest are viewing this topic.


* Share Topic

Share via delicious Share via digg Share via facebook Share via linkedin Share via pinterest Share via reddit Share via stumble Share via tumblr Share via twitter

* Similar Topics

clip
Easier EA

Started by Francoisvs on EA Modifications

11 Replies
695 Views
Last post September 14, 2018, 11:35:50 AM
by LazyProg