GolderLight:
I am a newbie in MQL4.
I tried to create custom indicator for (this indicator "THV3 Trix v4.01 Div.ex4")
- No kidding
- How the heck are we supposed to know if your iCustom call is anywhere remotely correct with out the indicator code? No mind readers here.
int CountedBars = IndicatorCounted(); if(CountedBars < 0) return(-1); int pos = 0; if(Bars > CountedBars + 1) pos = (Bars - CountedBars) - 1; string strComment = ""; for(int i = pos; i > 0; i--)
Assuming the indicator does not look back, no mA(length), no DrawBegin calls, the above isint CountedBars = IndicatorCounted(); if(CountedBars < 0) return(-1); string strComment = ""; for(int i = bars - 1 - CountedBars; i > 0; i--)
Welcome! WHRoeder!
- Who told you I was kidding?!! (sorry!!!)
- I do not want to learn programming only asked to request and I expect that there is an answer for my problem.
- I do not have .mq4 code for indicator, I expect that it is not required (I not want a study of the behavior of indicator) because I want a one condition: lines Cross!
All I wanted to do a simple indicator to draw arrows, If this is possible I hope help, is not possible only told me!!
GolderLight:
I do not want to learn programming only asked to request and I expect that there is an answer for my problem.
I do not want to learn programming only asked to request and I expect that there is an answer for my problem.
- No Slaves here, learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.
- Without knowing the externals of the indicator with their exact order and type and without knowing the buffers order, the iCustom can't be verified - no mind readers here. The behavior of the indicator is irrelevant.
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
Welcome!
I am a newbie in MQL4.
I tried to create custom indicator for (this indicator "THV3 Trix v4.01 Div.ex4")
Draw Up Arrow in Chart Window: Cross-Lines to UP
Draw Down Arrow in Chart Window: Cross-Lines to DOWN
These my try:
There are two problems
1- UP arrow is repeated more than once
2- Down arrow does not appear.