Just as the subject states, I can't figure out how to display the current read value of an iCustom indicator on my EA. Can someone please show me a sample piece of code? I've searched everywhere and can't find out how to do this.
- Indicators: GG-TrendBar
- How to read value of an indicator attached to a chart from EA code?
- iCustom addressing buffers
remix919:
Just as the subject states, I can't figure out how to display the current read value of an iCustom indicator on my EA. Can someone please show me a sample piece of code? I've searched everywhere and can't find out how to do this.
Try this: Detailed explanation of iCustom - MQL4 forum
Just as the subject states, I can't figure out how to display the current read value of an iCustom indicator on my EA. Can someone please show me a sample piece of code? I've searched everywhere and can't find out how to do this.
hmm...I browsed through the entire thread and didn't see anything about showing an iCustom value on the EA screen? Is it not possible?
remix919:
hmm...I browsed through the entire thread and didn't see anything about showing an iCustom value on the EA screen? Is it not possible?
hmm...I browsed through the entire thread and didn't see anything about showing an iCustom value on the EA screen? Is it not possible?
Save your value returned by your iCustom() call and then show it on screen using . . .
double Value = iCustom(. . . .); Comment("iCustom returned "+Value);
Or use an Object
remix919:
hmm...I browsed through the entire thread and didn't see anything about showing an iCustom value on the EA screen? Is it not possible?
hmm...I browsed through the entire thread and didn't see anything about showing an iCustom value on the EA screen? Is it not possible?
trying again get the info from Arrows other example how you can do it
Thanks, that's worked :) Just last quick question, how do I do a new line? I tried Comments("/n","iCustom returned "+Value); but it just shows /n in the comments and doesn't make a new line?
remix919: How to display iCustom indicator value on EA?
Just as the subject states, I can't figure out how to display the current read value of an iCustom indicator on my EA.
Just as the subject states, I can't figure out how to display the current read value of an iCustom indicator on my EA.
- Comment(value), create a text object, etc. Same way you display ANY value.
- If you want to draw indicator lines, you either have to attach the indicator (and guarantee the EA's parameters in iCustom match those of the indicator) or have the EA draw the lines (my PolyLine code)
remix919:
Thanks, that's worked :) Just last quick question, how do I do a new line? I tried Comments("/n","iCustom returned "+Value); but it just shows /n in the comments and doesn't make a new line?
Thanks, that's worked :) Just last quick question, how do I do a new line? I tried Comments("/n","iCustom returned "+Value); but it just shows /n in the comments and doesn't make a new line?
not "/n" ==> but "\n" for new line in Comment()
O, stupid me :x Thanks!

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