Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

ColorXPWMA_Digit - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

ColorXPWMA_Digit - indicator for MetaTrader 5

Color-smoothed PWM displays the latest value as a price tag and can round indicator levels to the desired number of digits. The number of digits to round is set in the input variable:

 Enter unit number = 2; //Number of digits to round

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). A detailed description of the class can be found in the article Average price series for intermediate calculations without using additional buffers .

ColorXPWMA_Digit - indicator for MetaTrader 5

Figure 1. ColorXPWMA_Digit indicator


Attachment download

📎 ColorXPWMA_Digit.mq5 (21.2 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #21669

Verification code Refresh