Automate Periodicity Change on Symbol Change - T# and Button Indicator

Login or Register

Please login or register in order to view and post in the Forum.

3 posts / 0 new
Last post
Eddy_F
Last seen: 3 months 2 weeks ago
Joined: 07/30/2014 - 16:18
Automate Periodicity Change on Symbol Change - T# and Button Indicator

Hi,
Lets say that my default periodicity on a renko chart is 4 ticks for ES but 8 ticks for NQ
When such a given chart (with a tick renko periodicity) is open, when switching to another instrument (through a button or the instrument pop up selector at the bottom of the chart), i would like to automatically also switch the periodicity to the default value
I think i have seen the trick explained somewhere, but i couldn t find it anymore in the knowledge database
Thanks a lot for the feedback
Cheers
Eddy

0
cpayne
Last seen: 1 year 9 months ago
Joined: 03/30/2009 - 00:00
Automate Periodicity Change on Symbol Change

You can use T# (Text Varaibles) for this. Add a T#1 column to your quotepage.  Enter the same periodicity abbreviation in there that you would in the button indicator like 4Re or 8Re or 1m or 1d*.  Then simply add a button indicator to your chart which is setup with periodicity abbreviation %T#1 as seen below.  Now, when switching symbols in that chart, the button will automatically get triggered and set the periodicity according to the T#1 value of the symbol you have switched to.

 

Eddy_F
Last seen: 3 months 2 weeks ago
Joined: 07/30/2014 - 16:18
Hi Chad,

Hi Chad,
thanks a lot for the very prompt feedback -
It wasn't working at the attempt first , but with your answer, i was able to trace back that this new feature was introduced in 12.4
And upon reading the 12.4 "whats new" file, I discovered that i had to also change the AutoSynchT#Periodicity variable to true in the configuration files :-))
So now, it works like a charm...

Btw, I even tried to use that trick in order to simplify my portfolio backtesting exercises (right now, i have to split the quotepage being backtested in several parts : ie running first all instrument using a 4 tick renko timeframe, then the one on 5 tick, 6 ticks etc), but introducing a %V#1 as periodicity of the renko chart in the backtest setup page didn't work :-(
If you could push that feature in the portfolio backtesting world, it would be very helpful ...
Cheers
Eddy