tintin92
Not possible. 1) There are no indicator's in EA's. 2) EA can only get their values. 3) There is no color in values.I wish to choose the color of a indicator in a EA.
is it possible?
is it possible?
maShort=iMA(NULL,0,PeriodShort,0,MODE_SMA,PRICE_CLOSE,0); maLong=iMA(NULL,0,PeriodLong,0,MODE_SMA,PRICE_CLOSE,0);
Do you see any colors there? Only a double called maShort and a double called maLong.
You have only three choices: Search for it, learn to code, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.
tintin92:
I think I saw a colorful MA in forum somewhere some time ago so I search again. Took me time to find this https://www.mql5.com/en/forum/139547
Hello,
I wish to choose the color of a indicator in a EA.
is it possible?
How code it ?
Thank you.
phi.nuts:
I think I saw a colorful MA in forum somewhere some time ago so I search again. Took me time to find this https://www.mql5.com/en/forum/139547
It's an EA though not an Indicator . . .
I think I saw a colorful MA in forum somewhere some time ago so I search again. Took me time to find this https://www.mql5.com/en/forum/139547
RaptorUK:
It's an EA though not an Indicator . . .
It's an EA though not an Indicator . . .
Thank you very much :). I must be tired (and so not focusing) yesterday.
Well, if the MA is attached to chart, you can change its color from EA using some Global variables function.
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
I wish to choose the color of a indicator in a EA.
is it possible?
How code it ?
Thank you.