OPEN-SOURCE SCRIPT

Dot indicator - Daily candle opened above the daily EMA baseline

已更新
https://www.tradingview.com/x/PHTOoLHz/

//version=3
//Written by David Carruthers
//Objective
//This is to support scanning the market to check if the daily candle opened above the daily EMA baseline for a selected pair
//This can be done in some measure by using trading view's screening tools
//However it would be useful, if someone references a pair, to instantly see if that pair opened above the daily baseline regardless of what resolution you are in
//This script, works out a green dot if the pairs daily candle opened above the daily EMA baseline, and a red dot if it didn't
//It then displays a green or red dot on the open for the last candle you are looking at regardless of resolution
//This saves jumping back and forth between the daily resolution and current resolution

Note please excuse my Pine scripting I am new to it :-)

版本注释
Brand new version of the Daily baseline script

There are now 2 x dots offset to the right

Left dot: Did the current daily candle open above the daily EMA baseline ?
Right dot: Did the latest candle in the current resolution open above the Daily EMA baseline?

This allows you to keep on an resolution, for example 1 hour, and if I see a green dot to the left and a red dot to the right, I can see that the daily candle opened above the EMA baseline, but the current hourly is below it.
baselineDaily ChartsExponential Moving Average (EMA)Moving Averages

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明