stop and limit together

Questions about MultiCharts and user contributed studies.
turbofib
Posts: 213
Joined: 11 May 2013
Has thanked: 67 times
Been thanked: 1 time

stop and limit together

Postby turbofib » 21 May 2020

hi,
it's possible to to this:

sell next bar at stopLong stop;
sell next bar at takeprofLong limit;



are they both run or only the second?

User avatar
Vlada MultiCharts
Posts: 293
Joined: 22 Apr 2020
Has thanked: 8 times
Been thanked: 76 times

Re: stop and limit together

Postby Vlada MultiCharts » 08 Jun 2020

Hello turbofib,

According to your code, both orders should be generated. Please check this on the demo account for testing purposes.

elf757
Posts: 1
Joined: 28 Nov 2019

Re: stop and limit together

Postby elf757 » 14 Jun 2020

As sell is an exit order, it depends on which one hit first. Once one of the "sell" order is executed, the marketposition will be changed from 1 to 0, and the remaining order will not be executed.


Return to “MultiCharts”