Its possible to make EA base on this?
of course, any indicator based idea can be easily coded into an EA.
I found EA that almost similar with my concept rules
but i dont know how modified this.
Maybe someone can do this?
I found EA that almost similar with my concept rules
but i dont know how modified this.
Maybe someone can do this?
if(iClose(4)<BB_Up && iClose(1)>BB_Up && MA_1_Long>MA_2_Long) // this is where the buy signal is detected in the code (line:144) { // ... OpenBuy(0.0,0.0); } if(iClose(4)>BB_Low && iClose(1)<BB_Low && MA_1_Long<MA_2_Long) // and this is the short signal strategy (line:156) { // ... OpenSell(0.0,0.0); } // in the code, there are functions to collect indicator buffer data. (iMAGet(), iBandsGet(), ...) use them to get your indicator data for any bar. // and change those two if conditions above, to match your strategy. (RSI values and other to be considered...)
Thanks
how to applied the bollinger to RSI like picture above?
Thanks
how to applied the bollinger to RSI like picture above?
// inside OnInit() int RSI_handle = iRSI(...); int BB_on_RSI_hanlde = iBands(...., RSI_handle); // then inside OnTick() CopyBuffer(BB_on_RSI_handle, ....) // get data of UPPER or LOWER band of BB on RSI CopyBuffer(RSI_handle, ....) // the RSI indicator values
Thanks
But now i have this
declaration of 'RSI_handle' hides global declaration at line 27 Breakthrough_BB.mq5 41 5
Thanks
But now i have this
declaration of 'RSI_handle' hides global declaration at line 27 Breakthrough_BB.mq5 41 5
normally, you need to declare and initialize any indicator handle integer, one and only once, and inside OnInit()
then don't declare it again inside OnTick or whatever...
you should read about compiling warnings/errors meanings, how to fix them.
and read documentation on how to create indicator handles, read their buffer values,....
normally, you need to declare and initialize any indicator handle integer, one and only once, and inside OnInit()
then don't declare it again inside OnTick or whatever...
you should read about compiling warnings/errors meanings, how to fix them.
and read documentation on how to create indicator handles, read their buffer values,....
Ok i finished it.
Now im trying modified to match with trading rules pictured above.
Hi Code2219 or probably 2319 this is correct?
if(CopyBuffer(RSI_handle,0,index,1,RSI)<0)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Its possible to make EA base on this?
1. Put RSI on chart, then striped down the color.
2. Put Moving average on chart, then applied to RSI.
3. Put Bollinger Bands on chart, then applied to RSI.
Open trade when Moving average crossed and closed outside upperband/lowerband.