Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1521
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
You're comparing the wrong rsi instead of "per".
So that's it?
So that's it?
Yes, but you can't just rewrite one indicator into another.
Build the logic of the indicator and then write it.
In this case, not all the logic is clear or there is extra data that is not used.Yes, but you can't just rewrite one indicator into another.
Build the logic of the indicator and then write it.
In this case, not all the logic is clear or there is extra data that is not being used.see on the screenshot what I have got.
my idea is this.
if rsi is above the 70 level and the candle closes below the open - there should be a signal for sell
I have an idea. If rsi is below 30 and the candle closes above the open - a buy signal.
don't judge, i'm just trying to learn a bit))))
Now tell me what i did wrong.
Look at the screenshot of what I've got.
My idea is this.
If rsi is above 70 and the candle closes below the open - there should be a signal to sell.
If rsi is below 30 and the candle closes above the open - a buy signal.
don't judge, i'm just trying to learn a bit))))
The only thing I'm trying to learn is this.
1) use the button to paste screenshots
2) according to your condition - it is correct.
1) use the button to insert screenshots
2) according to your condition - this is correct.
Thanks. I'll look into it.
1) use the button to insert screenshots
2) according to your condition - right this way
how to write the condition * if rsi crosses from bottom to top AlertLevDn then buy? is it possible or do I need an additional slider?
how do you write this condition * if rsi crosses AlertLevDn from bottom to top then buy? is it possible or do you need an additional slider?
Your question gives you the answer...
If rsi cross es from bottom to top - it means that the current value is higher and the previous one is lower.
current value
previous value should be done
after that compare
if RSI2 is less than AlertLevDn and RSI is greater than AlertLevDn
you have a buy)
Your question gives you the answer...
If the rsi crosses from bottom to top, it means the current value is higher and the previous value is lower.
current value
the previous value must be done
after that compare
if RSI2 is less than AlertLevDn and RSI is greater than AlertLevDn
You have a buy)
Got it. Thanks)
Got it. Thank you.)
correct
Greetings, could you give me a hint? MT5.
I need to get the values of Bollinger Bands.
I write
Outputs something similar to double_max.
At the same time it gets period, offset, and everything else correct.