To demostrate my issue I have created the script (attached) based on the following article: http://ninjatrader.com/support/helpG...th_buttons.htm
Unfortunately I have not found a way how to display only the button for the active tab. Without that it looks a bit confusing - two identical buttons and user cannot define which one is related to the active tab:
To reproduce it open two tabs and apply the scropt to both of them
Comment