How do the built in orders handle orders that are tied. Are they Global?
Is there any way, in the engine, to tie the built in commands to the entry?
Code: Select all
If High[1] < High[0]
then Buy ("Entry1") next bar 1 share at Market;
If High[2] < High[0]
then buy ("Entry2") next bar 2 shares at Market.;
If High > High[2] + 10
then Sell next bar 1 share from entry ("Entry1") at market;
if High > High[3] + 5
then Sell next bat 2 share from entry (Entry2") at market;
SetProfitTarget (20);
SetStopLoss (10);
Any comments are welcome
Thanks!