I've got a trend-following strategy that averages down into pullbacks.
For instance, say the market is trending up, makes a high at 1910, and begins to pullback.
Will MC allow me to:
- on a single click, enter several limit buy orders below the market. For example, at a single click or hot-key, enter limit buy orders at 1909, 1908, 1907, 1906 and 1905
- employ a universal stop loss for all orders.
- allow that universal stop loss to be visually modified.
- allow all trades to be closed at once (close all function).
Seems pretty simple to me, but I don't see this functionality in MC without coding an automated strategy. Is this correct?
And if the strategy is automated, thats fine. But the entry logic is discretionary. More specifically, the trigger criteria I want to be kept discretionary. When to submit all the limit orders for entry, and when to take them all off.
Can MC do this? If so, how?
Multiple Entries possible with automated order Strategies?
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Multiple Entries possible with automated order Strategie
Yes, you could use mouse clicks for that. For example (untested):- on a single click, enter several limit buy orders below the market. For example, at a single click or hot-key, enter limit buy orders at 1909, 1908, 1907, 1906 and 1905
Code: Select all
// Submit the orders with a mouse click and shift on the chart
if (MouseClickShiftPressed) then begin
enterLong = true;
end;
// Submit limit orders as long as the entry condition is true (todo: add check to see if the order still needs to be submitted)
if (enterLong = true) then begin
Buy ("EL1") 1 contracts next bar at 1909 limit;
Buy ("EL2") 1 contracts next bar at 1908 limit;
Buy ("EL3") 1 contracts next bar at 1907 limit;
Buy ("EL4") 1 contracts next bar at 1906 limit;
Buy ("EL5") 1 contracts next bar at 1905 limit;
end;
Yes, like this (untested):- employ a universal stop loss for all orders.
Code: Select all
// Submit stop when long
if (MarketPosition(0) > 0) then begin
Sell ("XS") all contracts next bar at 1900 stop;
end;
Yes, if you employ mouse clicks (see tutorials mentioned above), but I'm not sure if that's your definition of 'visually modified'.- allow that universal stop loss to be visually modified.
Yes, that would be the same as the stop-loss snipped above, but with the difference that you'll submit a market order to close the position.
- allow all trades to be closed at once (close all function).
That's true.Seems pretty simple to me, but I don't see this functionality in MC without coding an automated strategy. Is this correct?
With mouse clicks it's possible; otherwise, it isn't possible.And if the strategy is automated, thats fine. But the entry logic is discretionary. More specifically, the trigger criteria I want to be kept discretionary. When to submit all the limit orders for entry, and when to take them all off.