How to use MACD Crossover Close Position when profit+

Created at 31 Jul 2016, 16:27
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!
MY

myjd2863

Joined 31.07.2016

How to use MACD Crossover Close Position when profit+
31 Jul 2016, 16:27


I have want to code this please see picture as below.

MACD

In MACD CrossOver when macd cross signal above open position buy and cross below open position sell every time.
I don't want Take Profit and Stop loss of Position , I want to close position when profit + 
example please see picture I have 5 position 
1 and 3 as position sell and close position 1,3 when macd cross signal below and open position sell 5
If position profit -  position will not close 

 

Thank you very much for help me.


@myjd2863
Replies

croucrou
02 Aug 2016, 14:51

See the "Sample Close Profitable Positions" bot.


@croucrou