Check your values against the chart you are looking at to see if they match.
Thank you very much this is very helpful!... i just did and i can see that all of the values are wrong... but when i comment values on the chart, they are all correct... i really dont't get it now...i have to figure out why this is happening.... if you have any idea, please let me know...
Josip Marić: Thank you very much this is very helpful!... i just did and i can see that all of the values are wrong... but when i comment values on the chart, they are all correct... i really dont't get it now...i have to figure out why this is happening.... if you have any idea, please let me know...
these are my values... they are all wrong... some of the values are negative...
2021.02.2018:58:41.4622021.02.1723:59:59 BTCUSD,Daily: last close (-515396076) > middle band (440509579) && last close(-515396076) < upper band (-1203849329)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Did you try Close[1] > band_middle_curr ?
Hi! yes i did... but again... i get buy signal above upper line, and it should be below...
Check your values against the chart you are looking at to see if they match.
Check your values against the chart you are looking at to see if they match.
Thank you very much this is very helpful!... i just did and i can see that all of the values are wrong... but when i comment values on the chart, they are all correct... i really dont't get it now...i have to figure out why this is happening.... if you have any idea, please let me know...
Do you have the right period and symbol?
Do you have the right period and symbol?
Symbol and Period are correct BTC/USD 1440minutes
these are my values... they are all wrong... some of the values are negative...
Symbol and Period are correct BTC/USD 1440minutes
these are my values... they are all wrong... some of the values are negative...
It's weird. Try this:
Try this:
This displays correct previous price close number, but my indi band numbers are still wrong...
input maTypes PriceFilterMode = ma_smoo;This line is suspicious.
I have deleted it and compiled the code, but i get same results again...