Posted By: webradio
enterLong(), pending trade. From where measures Stop? - 08/25/15 15:26
Following call should buy if next bar goes higher than current bar's high:
Where will be the stop placed? 100 PIP below current high at time of calling the function or 100 PIP below the order fullfillment price? Same question for TakeProfit?
Code:
EntryTime = 1; enterLong(0, priceHigh(), 100*PIP, mytarget);
Where will be the stop placed? 100 PIP below current high at time of calling the function or 100 PIP below the order fullfillment price? Same question for TakeProfit?