TDL_N indicator

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

TDL_N indicator

Postby richardtao » Mon Feb 03, 2020 12:31 am

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 302 times
richardtao
FXCodeBase: Confirmed User
 
Posts: 101
Joined: Sun Jun 27, 2010 11:38 pm
Location: Taipei, Taiwan

Re: TDL_N indicator

Postby Apprentice » Mon Feb 03, 2020 6:03 am

Capture.PNG
Capture.PNG (11.05 KiB) Viewed 1026 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: TDL_N indicator

Postby richardtao » Wed Feb 05, 2020 1:09 am

set default 50 when first parameter is 0.
TDL_N.lua
set default 50 when first parameter is 0.
(11.19 KiB) Downloaded 282 times
richardtao
FXCodeBase: Confirmed User
 
Posts: 101
Joined: Sun Jun 27, 2010 11:38 pm
Location: Taipei, Taiwan


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 22 guests