Condition block question
-
Hi everyone, I would like to open a position if:
the ATR of the last closed bar is greater than or equal to the average ATR of the last 20 bars multiplied by a numerical coefficient.How can I perform the multiplication? Do I need to create a "formula" step and reference it in the comparison within the condition block?
Thank you for your support.
-
You want candle 1 pip size to be =< ATR period 20?
-
I'll rephrase it more generically:
Do it if a value is >= than (an external numeric variable) x (Indicator Value)
That is the point not clear: (an external numeric variable) x (Indicator Value)
-
Create a project doing this, add a shared link to look at: project screen - projects - create shard link - open in web page - copy and paste address bar here
-
Ok, the flow i would build to increase confidence with this tool is:
1- No trades go on, if there is a trade skip and check again
2- If StDev last closed bar is = or > of Avarage DevSt of the last 20 bars x [DevSt_Molt] go on itherwise stop
i defined DevSt_Molt as external input.
3- If RSI is in an iper area >30 or <70 go on otherwise stop
4- Check the trend looking at the position of the fast MA to the slow MA
5- Open at market Buy on short trend or open sell on a long trend
6- Place a grid of other 7 ordershttps://fxdreema.com/shared/p5Jy1DOXd
Thanks
-
This looks like it would do as your list, be careful with a cross as these can happen when other blocks are false, I would put two above buy/sell just in case, I do not know if DevSt_Molt will work so you will have to test to find out. Let me know if something doesn't work