Multiple Entries possible with automated order Strategies?

Questions about MultiCharts and user contributed studies.
veritasig
Posts: 25
Joined: 09 Oct 2014
Has thanked: 10 times
Been thanked: 8 times

Multiple Entries possible with automated order Strategies?

Postby veritasig » 24 Aug 2015

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?

User avatar
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

Postby JoshM » 25 Aug 2015

- 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
Yes, you could use mouse clicks for that. For example (untested):

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;
Here are mouse click tutorials for MultiCharts.
- employ a universal stop loss for all orders.
Yes, like this (untested):

Code: Select all

// Submit stop when long
if (MarketPosition(0) > 0) then begin

Sell ("XS") all contracts next bar at 1900 stop;

end;
- allow that universal stop loss to be visually modified.
Yes, if you employ mouse clicks (see tutorials mentioned above), but I'm not sure if that's your definition of 'visually modified'.

- allow all trades to be closed at once (close all function).
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.
Seems pretty simple to me, but I don't see this functionality in MC without coding an automated strategy. Is this correct?
That's true.
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.
With mouse clicks it's possible; otherwise, it isn't possible.

veritasig
Posts: 25
Joined: 09 Oct 2014
Has thanked: 10 times
Been thanked: 8 times

Re: Multiple Entries possible with automated order Strategie

Postby veritasig » 25 Aug 2015

Thanks very much Josh :) I'll work on it!


Return to “MultiCharts”