Hi,
I have A,B and C contract position as below:
A: P/L= -200
B: P/L=500
C: P/L=0
I write a signal code, involved SetStpoLoss(100);
May I know which of the following is correct:
(1)A+B+C lose more than 100, system will close A+B+C
(2)A+B+C lose more than 100, system will close C
(3)C lose more than 100, system will close C
Thanks for your help.
Charles
SetStopLoss Usage
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: SetStopLoss Usage
Hello Charles,
Do you have multiple entries for the same instrument or A, B, C are individual instruments?
Do you have multiple entries for the same instrument or A, B, C are individual instruments?
Re: SetStopLoss Usage
Sorry for my unclear message.
I have manually long A and B already.
And now I use Multicharts to trade C. I write signal for C only. I hope Multicharts will help me
to close C if I lose more than 100 from C only. I would like to confirm the usage of SetStopLoss.
Thanks.
I have manually long A and B already.
And now I use Multicharts to trade C. I write signal for C only. I hope Multicharts will help me
to close C if I lose more than 100 from C only. I would like to confirm the usage of SetStopLoss.
Thanks.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: SetStopLoss Usage
Please study the SetStopLoss reserved word description.
If your signal opens the C entry then you need to start the auto trading with the flat value (disregarding the 2 entries you have) in Format-> Strategy properties-> Auto trading-> Assign the initial market position at the broker setting->Do not show->Assume as flat.
If you enter C manually but want the auto trading to manage the stop loss then you need to go to Format-> Strategy properties-> Auto trading-> Assign the initial market position at the broker setting->Show the assign the initial market position at the broker dialogue-> Show always-> Ok. Upon starting the auto trading specify the C position size and it's entry price.
If your signal opens the C entry then you need to start the auto trading with the flat value (disregarding the 2 entries you have) in Format-> Strategy properties-> Auto trading-> Assign the initial market position at the broker setting->Do not show->Assume as flat.
If you enter C manually but want the auto trading to manage the stop loss then you need to go to Format-> Strategy properties-> Auto trading-> Assign the initial market position at the broker setting->Show the assign the initial market position at the broker dialogue-> Show always-> Ok. Upon starting the auto trading specify the C position size and it's entry price.