question about expert commentary

Questions about MultiCharts and user contributed studies.
cnbiz850
Posts: 33
Joined: 15 Oct 2012
Has thanked: 1 time
Been thanked: 1 time

question about expert commentary

Postby cnbiz850 » 26 May 2014

Having read through the wiki on this but still feeling unclear about a couple things, I hope someone can help clarify.

1) Does the opening of a commentary window followed by a click on a bar cause the entire strategy to be recalculated?

2) The recalculation also causes orders to be resend in live trading if on a bar with orders. Is that correct?

3) To avoid resending the orders, is it recommended to wrap all orders with the following?

if CommentaryEnabled=false then begin
//some orders
end

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: question about expert commentary

Postby Andrew MultiCharts » 27 May 2014

Hello cnbiz850,
  1. In general, the answer is "yes".
  2. When a code with expert commentary is auto-trading, the strategy is not recalculated/restarted/no values are reset upon a call of expert commentary.
  3. No orders should be resent.


Return to “MultiCharts”