You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Code2219 or probably 2319 this is correct?
if(CopyBuffer(RSI_handle,0,index,1,RSI)<0)
the if condition you written checks for errors in CopyBuffer call.
so the actual value of RSI indicator, for bar index, will be storeed in RSI[0].
READ Docs
RSI should be a double array.
the if condition you written checks for errors in CopyBuffer call.
so the actual value of RSI indicator, for bar index, will be storeed in RSI[0].
READ Docs
Ok i will check it again.
Thanks for following me up.
Nice idea, i wish you good luck on testing this strategy.
Can you put here this Indicator from the first image?
Thanks!
Nice idea, i wish you good luck on testing this strategy.
Can you put here this Indicator from the first image?
Thanks!
Thanks.
Im not using custom indicator.
Just like 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.
4. Its done.
Just simple as that.
RSI should be a double array.
the if condition you written checks for errors in CopyBuffer call.
so the actual value of RSI indicator, for bar index, will be storeed in RSI[0].
READ Docs
I had a problem, EA open trade immediately after green line (MA that applied to RSI) cross outside UpperBand/LowerBand in birth of the candle.
Its not wait to candle closed (to confirm position of green line that realy closed outside the band)
This problem related to this?
if(CopyBuffer(RSI_handle,0,index,1,RSI)<0)
RSI should be a double array.
the if condition you written checks for errors in CopyBuffer call.
so the actual value of RSI indicator, for bar index, will be storeed in RSI[0].
READ Docs
Or maybe this?
static datetime PrevBars=0;
datetime time_0=iTime(0);
if(time_0==PrevBars)
return;
PrevBars=time_0;
I had a problem, EA open trade immediately after green line (MA that applied to RSI) cross outside UpperBand/LowerBand in birth of the candle.
Its not wait to candle closed (to confirm position of green line that realy closed outside the band)
This problem related to this?
if(CopyBuffer(RSI_handle,0,index,1,RSI)<0)
dude, read other EA codes, you'll gradually learn the best way to code your strategies.
it's a long way, that pays to be paved.
Or maybe this?
static datetime PrevBars=0;
datetime time_0=iTime(0);
if(time_0==PrevBars)
return;
PrevBars=time_0;
for candle situation, you probably are talking about checking whether it's bullish or bearish candle, before doing trades
dude, read other EA codes, you'll gradually learn the best way to code your strategies.
it's a long way, that pays to be paved.
Okay :)
this will perform your operations, once per new bar. a good thing to do.
for candle situation, you probably are talking about checking whether it's bullish or bearish candle, before doing trades
How to make this to:
enter the trade after this candle closed?
bullish/bearish candle is not important.