Lot size based on stored stoploss value?
-
Hi All,
I’m wondering if this program can solve an issue for me. Basically I want my bot to set the stop loss as the most recent fractal +/- ATR. Once it’s worked that out, calculate the lot size by calculating the number of pips to SL and then setting the risk to 2% of balance. Assuming that’s possible I take it setting take profit at 1.5x risk would be fairly simple.
I don’t need step by step instructions (although I wouldn’t mind). I’d just like to know if it’s a function that’s doable before I go down the rabbit hole.
Thanks.
-
The options for this are in the standard blocks (I think), for a start set sl to fractal, save atr to a variable, these are a price fraction, add to your sl using adjust, try and if not working add a shared link.