Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 12:19:02 +0000



horizontal line

View Count: 420

[2024-10-20 21:30:19]
User734593 - Posts: 39
Hi John,

I am using two different studies on one chart.

From 9:30 am to 10:30 am EST my study 1 gives me better signals, while from 10:30 am to 15:30 EST my study 2 gives me better signals.

At the moment I switch them manually ... and is it possible in Sierra Chart to automate this process, i.e. from 9.30 to 10.30 Study 1 is displayed on the chart (Study 2 is hidden) while from 10.30 to 15.30 Study 2 is drawn on the chart (and during this time Study 1 is hidden).

Thank you very much for your support.

Best regards
Michal
[2024-10-21 15:55:40]
John - SC Support - Posts: 36203
You would have to use a Spreadsheet Study to do this. You would have to have both studies added to the chart, but they can be hidden. Then in cell K3 you would enter a formula like the following:
=IF(AND(FRACTIME(A3) >= TIME(09, 30, 00), FRACTIME(A3) < TIME(10, 30, 00)), ID1.SG1@3, ID2.SG1@3)

Where ID1.SG1@3 is the first study and subgraph and ID2.SG1@3 is the second study subgraph.

Note that the above assumes that you will display the information in the same way (i.e. both as lines, or bars, or whatever). If you need different display types, then you would need to use two different columns in the Spreadsheet Study and only have the data for each study showing in each column based on the time, similar to the above.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account