Smollet

Ouside Bar First high/low Detector

Indicator wenting to the lower time frame(if compare with current chart time frame) and seek what happened first, the low of previouse bar was updated first or the high of previouse bar.
In some trading strategies need to know exactly sequence of actions for outside bars to program the logic for testing on deep history.
If first was updated the high of previouse bar indicator will draw green diamond above the outside bar. If first was updated the low of previouse bar then indicator will draw red diamon below the ouside bar.
In cases where both side diamonds is plotted it meant the current Lower time frame resolution is not enough to clear figure out what was first Low of High, need choose lower resolution.
I did not found ready to use examples and made my own.
I hope it will be usefull for you.
Best Regards.
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?