different setstoploss in two strategy on two charts  [SOLVED]

Questions about MultiCharts and user contributed studies.
traderaaa
Posts: 8
Joined: 23 Nov 2020
Has thanked: 17 times

different setstoploss in two strategy on two charts

Postby traderaaa » 30 Mar 2021

hello everyone,

For example:
I want to set different setstoploss for two strategies in two charts in one workplace,
both setstoploss work well in backtesting and
they give the desired setstoploss in two separated strategy

Is it works in real trades? will the broker receive correct separated stoploss-order?

thank you so much :oops:

Code: Select all

// //strategy A condition1 = close cross over AverageFC(close,20); if condition1 then buy ("b1") 1 contract next bar market; setstoploss(1000); setexitonclose; // //strategy B condition2 = close cross over AverageFC(close,100); if condition2 then buy ("B2") 1 contract next bar market; setstoploss(3000); setexitonclose;
image below, my stupid head don't know why cannot post it with Image

Image
Attachments
171.png
(165.77 KiB) Not downloaded yet

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: different setstoploss in two strategy on two charts

Postby TJ » 30 Mar 2021

@traderaaa : You can post the image directly to this forum. Just click on the "Attachments" button to upload.

User avatar
Kate MultiCharts
Posts: 575
Joined: 21 Oct 2020
Has thanked: 7 times
Been thanked: 144 times

Re: different setstoploss in two strategy on two charts  [SOLVED]

Postby Kate MultiCharts » 30 Mar 2021

Hello traderaaa,

Yes, it will work correctly.
MultiCharts will send to the broker a regular Stop order with the price calculated accordingly to the Stop Loss parameter.

We'd still recommend testing it using a SIM account or Paper Trader first.


Return to “MultiCharts”