How to Define Multiple Profit Targets with percent profit and Stoploss

I have a Buy and Sell logic , I have added applystop to the formula to exit when the applystop condition met before my sell condition, I need an help to generate the logic with the for loop to meet the ApplyStop functionality and to generate real Sell Signal.

Example :

I bought a strike at some price with my Buy Condition and will sell with my Sell Condition but before meeting my sell condition if it reaches 30% profit , needs to store this value and if it comes back below 30% it has to square off , if it breaks 30% and reaches 50% make 30% as stop loss , if it goes further to 80% make 50% as stop loss and continue till stop loss hit.

I dont want to use trailing but would like to achieve this with a loop condition.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.