Calculate the ADX of Data2 in Signal

Questions about MultiCharts and user contributed studies.
LMC1
Posts: 50
Joined: 28 Apr 2013
Has thanked: 29 times
Been thanked: 1 time

Calculate the ADX of Data2 in Signal

Postby LMC1 » 26 Sep 2017

Hi,

I want to do the captioned, so I modified the built-in ADX indicator codes and include them into my signal but Power Language editor returned error.

inputs:
Len( 14 ), DailyBarHigh(H of data2), DailyBarLow(L of data2),DailyBarClose(C of data2) ;

variables:
var0( 0 ),
var1( 0 ),
var2( 0 ),
var3( 0 ),
var4( 0 ),
var5( 0 ) ;

Value1 = DirMovement( DailyBarHigh, DailyBarLow, DailyBarClose, Len, var0, var1, var2, var3, var4,
var5 ) ;

ADX = var3 ;

Please help, thanks.

LMC1

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Calculate the ADX of Data2 in Signal

Postby TJ » 26 Sep 2017

See post #1 and post #2
viewtopic.php?t=11713

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Calculate the ADX of Data2 in Signal

Postby TJ » 26 Sep 2017



Return to “MultiCharts”