I am fairly new to the efs wizard and I am trying find a way of using the "Strategy.setStop" function. Currently I use the function whenever I open a position or "doLong." In the formula wizard I use the code: "Strategy.setStop(low()-1)"
This will set a stop loss at one point below the periods close. My problem is that I track a number of securities at prices from 1 to 100. So if I want to set my stop at say 1% below my strike price, I need to calculate that amount and update the formula.
My quesiton: is there a way to set a stop as a percentage rather than a value. I would like to set a stop a 1% below the previous periods low.
Sorry for the long post, any help would be greatly appreciated!!
LB
This will set a stop loss at one point below the periods close. My problem is that I track a number of securities at prices from 1 to 100. So if I want to set my stop at say 1% below my strike price, I need to calculate that amount and update the formula.
My quesiton: is there a way to set a stop as a percentage rather than a value. I would like to set a stop a 1% below the previous periods low.
Sorry for the long post, any help would be greatly appreciated!!
LB
Comment