Rate Of Change With Bands

The EDS code based on Vitali Apirine’s article in the March issue of Stocks & Commodities magazine “Rate Of Change With Bands,” can be obtained by copying the below into a new  WinWayCharts EDS file, saving the file and adding EDS custom indicators on your Charts

!Rate Of Change With Bands 
!Author: Vitali Aprine, TASC Mar 2021 
!Coded by: Rich Denning, 01/11/2021 
!INPUTS: 
rocLen is 12. 
emaLen is 3. 
smaLen is 12. 
C is [close]. 
ROC is (C - valresult(C,rocLen)) / valresult(C,rocLen)*100. 
smaSqr is simpleavg(ROC*ROC,smaLen). 
ROCdev is sqrt(smaSqr). 
emaROC is expavg(ROC,emaLen). 
upROCB is ROCdev. 
dnROCB is  - ROCdev.

Code for the ROCB indicator is set up in the EDScode file. Figure 10 shows the indicators on a chart of Apple Inc. (AAPL). The red line in the first panel is the upper ROC band and the green line is the smoothed ROC. In the lower panel, the red line is the lower ROC band and the green line is the smoothed ROC.

Sample Chart

FIGURE 10:  The ROCB indicators are shown on a chart of Apple Inc. (AAPL). The red line in the first panel is the upper ROC band and the green line is the smoothed ROC. In the lower panel, the red line is the lower ROC band and the green line is the smoothed ROC.

—Richard Denning
info@TradersEdgeSystems.com
for AIQ Systems

en_GBEnglish
en_GBEnglish