NumEvenTrades in Signal

Questions about MultiCharts and user contributed studies.
rgranero
Posts: 55
Joined: 26 Jul 2010
Has thanked: 4 times
Been thanked: 1 time

NumEvenTrades in Signal

Postby rgranero » 17 Feb 2019

Hi,
when in a signal I try to print (NumEvenTrades) return 0 or a strange number... Where Iìm wrong?

Thanks
Riccardo

User avatar
TJ
Posts: 7151
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 988 times
Been thanked: 2041 times

Re: NumEvenTrades in Signal

Postby TJ » 17 Feb 2019

Hi,
when in a signal I try to print (NumEvenTrades) return 0 or a strange number... Where Iìm wrong?

Thanks
Riccardo

What number are you expecting?

rgranero
Posts: 55
Joined: 26 Jul 2010
Has thanked: 4 times
Been thanked: 1 time

Re: NumEvenTrades in Signal

Postby rgranero » 18 Feb 2019

NumEvenTrades will return a value of 10 if there were ten completed even trades

User avatar
Anna MultiCharts
Posts: 404
Joined: 14 Jul 2017
Has thanked: 28 times
Been thanked: 102 times

Re: NumEvenTrades in Signal

Postby Anna MultiCharts » 27 Feb 2019

Hello, rgranero!

Please attach your workspace, signal, export of data and an example of the output demonstrating that NumEvenTrades returns incorrect value.


Return to “MultiCharts”