Hello,
I'm a beginner and would like to know how to code a 0 line in the middle of the indicator graph with the possibility of modifying its width, color..., can you help me?
Thank you very much for your answers.
- I wish to choose the color of a indicator in a EA.
- Indicators: Ultra - ATR scalping tool
- Indicators: Shved Supply and Demand
Good morning
look at one of my codes
Free download of the 'Stochastic code for beginners by William210' indicator by 'William210' for MetaTrader 5 in the MQL5 Code Base, 2023.09.11 As you will see I added two lines
#property indicator_levelcolor clrRed // Oversold and overBuy color thresholds #property indicator_levelstyle STYLE_DASH // Oversold and OverBuy Style thresholds #property indicator_levelwidth 1 // Oversold and OverBuy Thickness Thresholds #property indicator_level2 80 // Hard-coded value #property indicator_level3 20

Stochastic code for beginners by William210
- www.mql5.com
Stochastic beginner tutorial to learn how to code in MQL5
User11111:
Hello,
I'm a beginner and would like to know how to code a 0 line in the middle of the indicator graph with the possibility of modifying its width, color..., can you help me?
Thank you very much for your answers.
in top right corner of website you will find a search, magnifying glass. search there and in the search results and on the left of screen you will find a documents line. Click on that and you will find many examples.

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