I see that replacing a stop order such as:
Sell("SCLExit") next bar at Value3 stop;
with a stop close only order such as:
Sell("SCLExit") next bar at Value3 stop close only;
is not a straightforward as I hoped it would be, since it does not compile.
Am I missing something or do I really have to write some stupid code like:
If Close of Tomorrow <= Value3 then sell next bar at close;
Thank You !
Kind regards from Munich / Germany
Heiner
Stop <> Stop Close Only
- Roman MultiCharts
- Posts: 50
- Joined: 28 Nov 2011
- Has thanked: 21 times
- Been thanked: 67 times
Re: Stop <> Stop Close Only
Hello Heiner,
It won't compile because "only" is not a keyword.I see that replacing a stop order such as:
Sell("SCLExit") next bar at Value3 stop;
with a stop close only order such as:
Sell("SCLExit") next bar at Value3 stop close only;
Yes, it's necessary to write the condition that will trigger the sell order.Am I missing something or do I really have to write some stupid code like:
If Close of Tomorrow <= Value3 then sell next bar at close;