how to simulate stop order  [SOLVED]

Questions about MultiCharts and user contributed studies.
scotthkao
Posts: 31
Joined: 19 Feb 2014
Has thanked: 14 times

how to simulate stop order

Postby scotthkao » 27 Aug 2015

If an exchange does not support stop order, is there still any way to place stop order?

Thanks a lot!

tony
Posts: 420
Joined: 14 Jun 2013
Has thanked: 30 times
Been thanked: 81 times
Contact:

Re: how to simulate stop order

Postby tony » 28 Aug 2015

Not sure I am following you but if you are saying you are in a position and need to get out at a certain point, then use a market order. For example

If Close > EntryPrice then buy to cover next bar at market;

or

If Close < EntryPrice then sell next bar at market;

scotthkao
Posts: 31
Joined: 19 Feb 2014
Has thanked: 14 times

Re: how to simulate stop order

Postby scotthkao » 28 Aug 2015

Thanks, Tony!

Yes, but that requires the whole signal to be in IOG mode.
I'm wondering how setpercenttrailing() works in IOG mode but the calling signal can still be not in IOG mode.

So, it seems to me that writing something like setXXX() is not we users can do.

tony
Posts: 420
Joined: 14 Jun 2013
Has thanked: 30 times
Been thanked: 81 times
Contact:

Re: how to simulate stop order  [SOLVED]

Postby tony » 28 Aug 2015

Then I believe you can just put this in your signal

SetPercentTrailing(Profit, Percentage);

This would exit a position "mid bar" if you are not using IOG mode.


Return to “MultiCharts”