I apply the following code to a 1 tick chart. I set it allow up to 100 entry oder in the strategy properties. The design of the strategy is to buy 5 contracts from the market. However, after turning on the Auto Trading, MC always buy more than 5 contracts. Is there any solution for this problem?
IF MARKETPOSITION_AT_BROKER_FOR_THE_STRATEGY < 5 THEN BEGIN
BUY NEXT BAR AT INSIDEBID LIMIT;
Problem with Limit Order
Questions about MultiCharts and user contributed studies.
1 post • Page 1 of 1