Hey guys,
slightly stuck here.I have been trying to create a trailing TP which would reference 3 things MA cross overs ,75% of my take profit and current price
The idea is say i have a cross over on a long position and my TP is 150pips away i want it to close 70% of my position 112.5 pips into the move and reminder if i hits the full 150 pips.
thanks.
(MAs are 20 average close and 3 average close)
EricParticipant
Master
you need 2 system
with the same code but different exits
how exactly would that look like below is the long part of the code
// parameters
indicator1 = Average[x](close)
indicator2 = Average[y](close)
//basic parameters for bs
c1 = (indicator1 CROSSES OVER indicator2)
c2 = (indicator1 CROSSES UNDER indicator2)
IF c1 THEN
BUY X contract AT MARKET
ENDIF
IF c2 THEN
SELL AT MARKET
ENDIF