Can someone modified this indicator to MTF Adx
eur/usd, gbp/usd , tf 15m ,30 m, 1-h
I use ZUP_v86 indicator, and trying to make it able to write the results in more timeframes. I changed all Period() to my own MPeriod=5 in the code, but it still does the same (if I change time frame on a chart, the results are changing too). Why is that? Could anybody offer me a solution for that? Is there any EA, which can change timeframe on the visible chart?
Most all indicators place the values in the top left corner of the indicator window box.
The OSMA and MACD indicators will show both positive and negative values that relate to the "height" of the bars...and you can use these buffers in your code. MACD of course adds the Signal line as well.
The screen shot attached shows both indicators with positive values for now, but you can see them go below the zero (0) line for negative values.
Hope this helps,
Thank you very much Robert
I actually did not see that!
Is there any whay I can use those values while coding?
I want to pick the highs and lows of the osma for every time it goes higher than 0 and lower than 0. Please see att. and ignor the price swings that i marked.
I have started to code something but do not really know what im doing I can share the mq4 if you think you know how to help.
Thank you again.
Go Back One Square...Answered already
I know with all the happy faces you sound excited for learning...
That's great....and I'm glad to share when I can...
But slow down a bit and look for the gems... Your answer is already in the last post...
...and you can use these buffers in your code.
Search for a few basic MACD, Stoch, or other basic EA's for good examples on HOW they use the buffers from the indicators...
Have fun learning!
Suggestion for learning basic coding - Use Comments to display your values right on the chart...so you can see immediately what the value is...and watch the values change each bar. Some people find that more helpful than watching the lines or histograms...
Adding screen Comments also helps with debugging to see if/what values you are getting...especially in your EA's.
Here is the basic format - just change "SampleValue" to your variable names:
" SampleValue1 = ", SampleValue1 ,
"\n SampleValue2 = ", SampleValue2 ,
Thank you sooooo much!!!! Its 1am here in South Africa, but i cant get away from this pc....this coding can really get addicted :-)
You have helped me so much. thank you again. I wish you the best of luck with your trading. And i hope you dont mind me asking some more questions in the future?
thicken price bars solution
the 'MTF Candles' will display other timeframe price bars on the other timeframe
chart you're using - 15 on a 5 min for example - Inputs
however, if set to the timeframe of the chart you want to display it on, you'll have
1min 'candles' on your 1min chart at the thickness you want, and with the exact
H-L of that bar
I agreed if coder can help me for this indicator that will help me a lot!!! for a system of mine would work perfect!
hope some one help!