I am using MultiCharts64 Version 14.0 Release (Build 21978) and IB TWS 10..11 version
I have composed a strategy and put it on paper trade.
I have found that the stop loss order cannnot be executed.
The actually picture is that , the price JUST PASS the stop loss price [i.e. I have a long position] , and move further against my position direction it make me to suffer bigger loss.
When the price move up and stay around the stop loss price for a while , the stop loss order executed!!!!
I wonder if the market keep moving down , my loss must be very big!!!!!
and luckily it is paper trade!!!
what is the reason of this??
how can I solve this problem?
Can you guys give me some suggestions?
I simply use [ setstoploss ] as my stop loss logic
I turn intra-bar-order-generation on
I have not put the [ setstoploss ] under any if statement
I am using window 10 computer equipped with antivirus software
Running the SA , auto trading mode is on , the antivirus software is on too .
Thank you!!!!
stop loss order cannot be executed
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: stop loss order cannot be executed
If this is a coding question, you will need to post your codes.
ps. stoploss works intra-bar regardless whether IOG is used.
ps. stoploss works intra-bar regardless whether IOG is used.
Re: stop loss order cannot be executed
StopL = StopLLevel*position size;
if condition1 then buy("Long") next bar position size contracts at pricepoint stop;
setstopposition;
setstoploss(StopL);
if condition1 then buy("Long") next bar position size contracts at pricepoint stop;
setstopposition;
setstoploss(StopL);