london/united kingdom
Posts: 2 since Dec 2011
Thanks Given: 0
Thanks Received: 0
|
for easylanguge how do i write the code to set the stop and profit target in ticks for each of the contracts. ie
for this sample strategy:
If (close - open) = 3 x minmove/pricescale
then buy next bar 2 contracts at markets
now for this how do i set the stop of both contracts to be 8 ticks, and the profit target 1 and profit target 2 to be 9 and 10 ticks respectively. Also if profit target 1 is hit then stop should move to breakeven. All the stops and targets mentioned are from the close of the initiating bar (ie the bar before entry) WOuld appreciate if someone could code this
thanks
bharat
|