Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
[quote=Diam0nd]Have you tried using words btw? Like Red, Blue, etc.
Thank you for reply!
Sure,
I mean, in script, line "#property indicator_color" allows you put only basic web colors from the table set by words (red, white, blue, etc) and doesn't let you put any custom colors (shades of basic web colors) those are digits.
You can set any custom color through the terminal, but should be some trick to set it from the script and not to do it manually all the time...(lazy)
Diamond, Should be some easy hack, i believe in you!
How to set custom color in the indicator code?
Line “#property indicator_color“ does not allow any numbers…
Thank you.
you need to use an - extern color (color name)=C'109,44.44';
This will give you unlimited color variants, just get the numbers for the colors off the custom color part of the pop up box showing the standard colors, the numbers on the right side are the ones you want. hope this helps
Hi, CJA! when you (I'm) putting digits in the line and start compiling in Metaeditor, it shows error: "defined value expected" dem...
You need to have a reference to the color name in the line of code. Look at the supplied screenshot, notice where i have changed the code, actually i have also changed the line color to red. The altered code is the next line just below the 2 gray lines of code //SetIndexStyle etc