Placing Take Profit and Stop Loss after entry

Questions about MultiCharts and user contributed studies.
cc64
Posts: 14
Joined: 15 Apr 2020
Has thanked: 4 times
Been thanked: 3 times

Placing Take Profit and Stop Loss after entry

Postby cc64 » 27 Oct 2020

Hi,

was wondering if/how it's possible to enter a take profit and a stop loss after we have entered a trade . Make them OCO. Using Chart trading?

TIA

Claude

User avatar
Kate MultiCharts
Posts: 591
Joined: 21 Oct 2020
Has thanked: 9 times
Been thanked: 148 times

Re: Placing Take Profit and Stop Loss after entry

Postby Kate MultiCharts » 11 Dec 2020

Hello cc64,

Yes, it is possible. Please try adding this to the script:

Buy next bar at market;
setprofittarget_pt(50);
setstoploss_pt(50);


Return to “MultiCharts”