Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 19:05:40 +0000



[Programming Help] - Study/price overlay issue

View Count: 622

[2020-02-17 09:37:48]
GiovanniD - Posts: 41
Hi
I correctly merge 2 graphs into one using the function Study/price overlay (M30 in M2).
But I need to also overlay an indicator that I made and that works regularly on the original M30 chart. Applying the Study/price overlay to the indicator in various ways, unfortunately, in the destination graph M2 it does not appear in any way.
So I thought about modifying the indicator and applying it directly in the M2 graph on the M30 overlay. This is possible.
The problem I have is that I don't know how to identify the candle change in M30 working on an M2 chart, in fact since the overlay repeats the M30 candle several times, it is necessary to save the data of the previous M30 candle before the current one and to perform the calculations tick x tick with respect to the saved data.
This is possible, but I must be able to correctly identify the candle previous to the current one in the M30 chart. (of course I'm just considering M2 and M30 charts for simplicity, but in reality this should work on any pair of charts with different time frames)

Thank's
imagepattern.jpg / V - Attached On 2020-02-17 09:37:33 UTC - Size: 195.46 KB - 217 views
[2020-02-17 16:48:34]
GiovanniD - Posts: 41
Solved..

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

Login

Login Page - Create Account