Help - EMAs cross bot

Created at 24 Jan 2021, 05:56
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
FS

fsanchezd57

Joined 09.11.2017

Help - EMAs cross bot
24 Jan 2021, 05:56


Hello,

I am not a programmer, hence I would like to ask if anyone would be kind to write the code for this bot. - I have looked around other EMAs cross bots, but I have not found any that fulfills this logic

CONDITION TO OPEN THE TRADE

EMA 15 crosses EMA 40 (buy or sell depending on the cross)

CONDITIONS TO CLOSE THE TRADE

If any of the following conditions are met

a) SL 20 pips

b) TP 50 pips

c) If a new cross happens in the oposite direction. Thus, if we have a long trade due to 15 crossing above 40, and while the trade is open a 15 croses 40 below, the trade must be closed

NOTE: In situation c), not only the current trade must be closed, but a new one must be opened, since a new cross is met. Therefore every cross always opens a trade and closes if an ongoing trade is running. 

Thanks a lot for your help 


@fsanchezd57
Replies

PanagiotisCharalampous
25 Jan 2021, 09:10

Hi fsanchezd57,

If you need somebody to write the cBot code for you, you can post a Job.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous