intra-barassumptions and StopLoss/TakeProfit  [SOLVED]

Questions about MultiCharts and user contributed studies.
dario
Posts: 31
Joined: 01 Dec 2015
Has thanked: 7 times
Been thanked: 1 time

intra-barassumptions and StopLoss/TakeProfit

Postby dario » 11 Dec 2015

Hi to all,
When I used setStopLoss() and SetProfitTarget() I read that "The function is evaluated intra-bar and not only on close of a bar, and can exit within the same bar as the ent"... but if the stopLoss and takeProfit are on the same bar, to understand which one have to be executed, Intra-bar Price movement assumption is used or the tick precision is used?

Thank you.

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

Re: intra-barassumptions and StopLoss/TakeProfit

Postby tony » 11 Dec 2015

I don't fully understand your question but will take a try. IOG mode on or off does not matter. If conditions are met then orders will be generated when close produces the values defined, even if the bar is not yet closed.

dario
Posts: 31
Joined: 01 Dec 2015
Has thanked: 7 times
Been thanked: 1 time

Re: intra-barassumptions and StopLoss/TakeProfit

Postby dario » 11 Dec 2015

sorry, try to explain in a better way the question.

If I have:
TimeFrame Daily and buy order with
0) entryPrice at 1,30300
1) StopLoss at 1,30200 (with setstoploss_pt(100) );
2) Profit Target 1,30400 (with setprofittarget_pt(100) );

assuming that the range of the bar is : High : 1.31000 and Low : 1.29000

How Does Multicharts know if the order will be closed in StopLoss or ProfitTarget?

The method used by MC will be : going through the bar tick by tick OR with Intra-bar Price movement assumption?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: intra-barassumptions and StopLoss/TakeProfit  [SOLVED]

Postby Henry MultiСharts » 17 Dec 2015

Hello,

It depends on the Bar Magnifier option. Please study the following information:
How Signals are Calculated.


Return to “MultiCharts”