I did some searching and could not find a answer. What would I add to my strategy code to get a stop at lets say 5% below the open price of the trade.
I am on a different computer and cannot copy my script but, It would go in this line.
AddOrder (OrderType.Sell_To_Close, rsi crosses above overBought, tickcolor = GetColor (1), arrowcolor = GetColor(1), Name "Sell");
I assume I can add a after the above statement for the stop. Thanks ahead of time.
I am on a different computer and cannot copy my script but, It would go in this line.
AddOrder (OrderType.Sell_To_Close, rsi crosses above overBought, tickcolor = GetColor (1), arrowcolor = GetColor(1), Name "Sell");
I assume I can add a after the above statement for the stop. Thanks ahead of time.