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
Could you write something smarter?
And it won't! ))))))))))
===
Jesus... How predictable everything is...
And it won't! ))))))))))
===
Jesus... How predictable everything is...
This variable should be accessed like this:
This variable has to be accessed like this:
all cool of course, thanks, but you just wrote MACD(12,26,9) now, and what I need you didn't understand again...
I have indicator window, MACD(14,7,1) on it I put a simple 35 wristwatch with previous indikator data method, the last candle data is in the "Data window", the Expert Advisor doesn't need to calculate anything, it just needs the number in the black square, since the wizard is standard, I can't access its code and make the last bar a global variable, if I take the wizard from the Code Base I cannot apply previous indikator data method, since the indicator is custom
Are there any functions or procedures that work with "Data window"?
No, you misunderstood me - I summed the MACD and averaged it with a 56 period moving average. I did exactly what you wanted. You need a different averaging period and a different MACD - no problem - these settings are placed in user variables. Set what you need.
Your task is fully completed by me. And let them tell me if I failed.
The data of the last candle is in the "Data window",
The data of the last (and any other) candlestick is located through the iOpen(), iClose(), iLow() and iHigh() time series
or Open[], Close[], Low[], High[] for the current symbol.
The data of the last (and any other) candle is found through the iOpen(), iClose(), iLow() and iHigh() time series
It has highlighted the right value in the screenshot. The MA indicator reading is highlighted there.