hi loki,Loki wrote: Tue Sep 19, 2017 8:18 pm
Hello mntiwana,
what i post is universal ea. everybody can use thier own signal indicator and/or filter indicator to make own ea. not neccesary rsi and macd. you can enter your own indicators in field 'indicator name' and 'filter name'.
see picture for example. i use sample signal indicator 'simplestoch' and as filter indicator 'nlma'.
now just alocate the buy and sell buffers for signal indicator and alocate uptrend and downtrend buffers for filter.
In example there is only 1 buy in the square because nlma is uptrend and simplestoch in buy signal.
i add indicators so you can test yourself but you can use any other indicators if you want. you just need to know what is buy/sell buffer and what is uptrend/downtrend buffer.
universalea.png
i´ve played a little bit with this.
Please can you check the simplestoch indi. i think your version only show buy arrows.
i disable code line 72 and enter code line 73 to show both arrow types.
hope i´m right, because i´m not a profi coder.