Page 1 of 1

TDL_N indicator

PostPosted: Mon Feb 03, 2020 12:31 am
by richardtao
GBPUSD H1 (02-03-2020 1016).png

The first parameter N defines look back of moving average.
The second parameter C defines the step of nature moving average.
The output stream A is active nature moving average.
The output stream B is base simple moving average.
The recommended parameters might be (100, 0.5)

TDL_N.lua
(11.15 KiB) Downloaded 305 times

Re: TDL_N indicator

PostPosted: Mon Feb 03, 2020 6:03 am
by Apprentice
Capture.PNG
Capture.PNG (11.05 KiB) Viewed 1046 times

Re: TDL_N indicator

PostPosted: Wed Feb 05, 2020 1:09 am
by richardtao
set default 50 when first parameter is 0.
TDL_N.lua
set default 50 when first parameter is 0.
(11.19 KiB) Downloaded 285 times