placing setstoploss_pt in a condition

Questions about MultiCharts and user contributed studies.
kagein
Posts: 14
Joined: 12 Oct 2017
Has thanked: 5 times
Been thanked: 3 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: 264
Joined: 14 Jul 2017
Has thanked: 14 times
Been thanked: 65 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”