placing setstoploss_pt in a condition

Questions about MultiCharts and user contributed studies.
kagein
Posts: 55
Joined: 12 Oct 2017
Has thanked: 17 times
Been thanked: 10 times

placing setstoploss_pt in a condition

Postby kagein » 24 Jan 2018

I would like to know what the potential issues are with placing setstoploss_pt within a condition. For example

Code: Select all

if count < 1 then
setstoploss_pt ( stoploss);

User avatar
Anna MultiCharts
Posts: 560
Joined: 14 Jul 2017
Has thanked: 42 times
Been thanked: 141 times

Re: placing setstoploss_pt in a condition

Postby Anna MultiCharts » 30 Jan 2018

Hello, kagein!

If you use this keyword properly there should be no issues.


Return to “MultiCharts”