Support Board
Date/Time: Thu, 19 Jun 2025 00:19:42 +0000
[Programming Help] - HELP WITH STUDY/PRICE OVERLAY CHART
View Count: 891
[2022-07-02 21:07:42] |
User9890731 - Posts: 47 |
Hi, I have added the ''study/price overlay'' on a chart to overlay a 2nd chart on my main chart, but the main issue i get is when a study such as ''SuperTrend'' is based on the overlaid chart, it doesnt sync with the chart. it gets out of sync every time new bars form and i don't understand why. |
![]() Attachment Deleted. |
[2022-07-03 13:26:09] |
Sawtooth - Posts: 4229 |
There are two settings that affect this: Data Copy Mode Bar Time Matching Method Experiment with both, but if neither setting resolves the issue, there is nothing else you can do. Also, if the either chart is not time based, the Data Copy Mode should be set to 'Use Earliest...' Auto Trade System Back Testing: Performing Back Testing on a Trading System That Uses Multiple Charts Even if you find a setting that works, it's possible it will still occasionally repaint as one 'catches up' with the other. |
[2022-07-03 13:51:34] |
User9890731 - Posts: 47 |
Thanks Tom for reply, If all else fails and the problem persists, is there some way to reference data from chart 1 that I overlaid onto a spreadsheet (from chart 2)without using "study/price overlay"... |
[2022-07-03 17:33:01] |
Sawtooth - Posts: 4229 |
is there some way to reference data from chart 1 that I overlaid onto a spreadsheet (from chart 2) It is possible but not recommended. And it still wouldn't eliminate misalignment of two chart's studies. Referencing Other Charts in Spreadsheet Study Formulas: Referencing Other Charts in Spreadsheet Study Formulas |
[2022-07-09 14:15:46] |
User9890731 - Posts: 47 |
Hi Tom, I managed to solve that problem but another issue I have is comparing 2 figures from same cell.. Example, if in cell AA3 the the values increase, how do I write a formula in k3 such that as the values in AA3 keep ascending, then a buy signal is made, otherwise if they descend then sell signal in cell M3 is made |
[2022-07-09 14:53:46] |
Sawtooth - Posts: 4229 |
K3: =AND(AA3>AA4,YourOtherBuyConditions) M3: =AND(AA3<AA4,YourOtherSellConditions) |
[2022-07-09 15:50:21] |
User9890731 - Posts: 47 |
The ascending, descending numbers are within AA3 because candle has not closed yet.
|
[2022-07-09 16:35:10] |
Sawtooth - Posts: 4229 |
It's not possible to compare two intrabar values with a spreadsheet study. You can only compare between bars. You could compare the current intrabar value with the closed value of a previous bar. |
To post a message in this thread, you need to log in with your Sierra Chart account: