EA with SL and TS only. Just it! Nothing more!

May 02, 2016 at 06:41
604 Zobrazení
4 Replies
JHenrique
forex_trader_318221
Členom od Apr 07, 2016   32 príspevkov
May 02, 2016 at 06:41
Hi guys!

I'd like to create an EA with the following features:

- In a TF of 1 hour, for example, after of 1/4 of 1 hour, a order should be given automaticaly by EA. If the candle is green, so is a buy order; if red, so is a sell order. If the TF is of 4 hour, so the type of order (buy or sell) should be choose by EA after of 1/4 of 4 hour (= 1 hour). If the preset candle is green -> buy; if red -> sell. It should work in any TF.

- No TP

- With SL

- With trailing stop

- And more one thing: I'd like of create a parameter called 'SPD'. If the current spread < then SPD, so the EA works normally. But if the current spread > than SPD, then the EA don't give orders.

Just it!

But, I don't know how make this EA. I guess that is simple... Someone can make for me?

Thanks!

Henry
Členom od Jan 05, 2016   1189 príspevkov
May 02, 2016 at 21:02
For MT4 : MQL4
https://docs.mql4.com/

For MT5 : MQL5
https://www.mql5.com/en/docs

There you go. Now you can learn to code it for yourself.


If it looks too good to be true, it's probably a scam! Let the buyer beware.
Členom od Jun 07, 2015   90 príspevkov
May 03, 2016 at 06:37
do you have a budget?
Everything in the market is like a fart, if you have to force it, it is probably shit
Členom od Mar 29, 2016   5 príspevkov
May 03, 2016 at 12:03
Hi,

I am electronics engineering student, programmer and trading enthusiast, I'd be happy to program your EA based on your own rules of data, but with some valuation and if I am satisfied that it does works.

As I am doing it for free I expect the person to use the EA just be you, incase if you want to redistribute/sell the EA, we could agree to that with some small fee or percentage.

Thanks for reading ;)
STAY HUNGRY STAY FOOLISH
Členom od Jun 07, 2015   90 príspevkov
May 03, 2016 at 14:48
Professional4X posted:
For MT4 : MQL4
https://docs.mql4.com/

For MT5 : MQL5
https://www.mql5.com/en/docs

There you go. Now you can learn to code it for yourself.



yeah, what he said.

really, everyone should know how to program code. it SHOULD be taught in schools as mandatory computer basics .
Everything in the market is like a fart, if you have to force it, it is probably shit
You must be connected to Myfxbook in order to leave a comment
*Komerčné použitie a spam nebudú tolerované a môžu viesť k zrušeniu účtu.
Tip: Uverejnením adresy URL obrázku /služby YouTube sa automaticky vloží do vášho príspevku!
Tip: Zadajte znak @, aby ste automaticky vyplnili meno používateľa, ktorý sa zúčastňuje tejto diskusie.