Wednesday, May 1, 2024
102FansLike
0FollowersFollow
5FollowersFollow
0SubscribersSubscribe

ATR Channels Cloud Digit

Real author:

Luis Guilherme Damiani

Three channels using the ATR indicator, based on one moving average, drawn as a colored cloud, with the display of the last values as price labels and the possibility to round the channel levels up to the required number of digits. The number of digits to round is set in the Digit input:

input uint Digit=2; //Number of digits to round to

The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article “Averaging Price Series for Intermediate Calculations Without Using Additional Buffers”.

Fig.1. The ATR_Channels_Cloud_Digit indicator
Fig.2. The ATR_Channels_Cloud_Digit indicator