Setting MaxBarsBack in a Signal  [SOLVED]

Questions about MultiCharts and user contributed studies.
Tartalognion
Posts: 23
Joined: 17 Mar 2010
Has thanked: 20 times
Been thanked: 2 times

Setting MaxBarsBack in a Signal

Postby Tartalognion » 06 Aug 2017

Hello,

I tried to set MaxBarsBack value in a signal but it seems impossible other than manually:

SetMaxBarsBack(Value1);

Works only in a indicator.

Any idea :?:
Thank you :wink:

User avatar
JoshM
Posts: 2151
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1534 times
Been thanked: 1530 times
Contact:

Re: Setting MaxBarsBack in a Signal  [SOLVED]

Postby JoshM » 06 Aug 2017

I tried to set MaxBarsBack value in a signal but it seems impossible other than manually:

SetMaxBarsBack(Value1);

Works only in a indicator.
As far as I know the only way to set the MaxBarsBack for a signal is by hand, unfortunately. I suspect this is because the MaxBarsBack of a signal is more a chart setting than an individual script setting.


Return to “MultiCharts”