- Search Energy EXCH
- 3 Results
- squirrel-007 replied Mar 19, 2019
float FA5m = iMA(NULL,PERIOD_M5,8,0,MODE_SMA,PRICE_MEDIAN,0); float SA5m = iMA(NULL,PERIOD_M5,21,0,MODE_SMA,PRICE_MEDIAN,0); float calc; if (FA5m > SA5m) { calc = (FA5m - SA5m); Comment (calc); if (calc> 0.000013) Alert(calc); } Why is this code ...
- squirrel-007 replied Mar 19, 2019
I have a 8 sma and a 21 sma if 8 above 21 on 1h chart we have a Bull trend if 8 below 21 on 1h chart we have a Bear trend now we goto 5m chart If gap between both MA's is 1cm or more we wait for the latest candle to open between the MA's then count ...
- squirrel-007 replied Mar 19, 2019
I also want to learn mql4 can you help me? float fastma float slowma float calc = fastma - slowma I am attempting to write an ea that will only trade if gap between 2 MA's is > 0.00050 my code if (calc > 0.00060); Alert (calc); aletts on every tick ...
- Posts by Member Search: 'squirrel-007'