Do you know how to create a lower chart study that plots moving averages greater than another moving average as dots as opposed to lines, similar to the study in this illustration? I found a snippet of code in a study that I think would be helpful, but I’m not sure how to use it to build a complete study.
Also, to provide more clarity, I’d like the lower chart study to allow you to select multiple timeframes, for multi-timeframe analysis. So if I’m using a 1M chart to trade, I’d like to see a row of dots for additional timeframes in this study. One row could be 5 minutes; another could be 15 minutes, etc.
If the condition exists (e.g. 9 EMA is greater than the 20 EMA), I’d like the corresponding row (e.g. 5 or 15 minute) to display a Green dot after every 1 minute candle (primary chart I’m trading on). If the condition does not exist, I’d like it to display a Red dot.
Marked as spam
Please log in to post questions.