• プロダクト
  • コミュニティ
  • マーケット
  • ブローカー
  • 詳細
始めましょう
  • コミュニティ
  • /インジケーターとストラテジー
  • /Roundingtop

Roundingtop

Pine Script Tutorial #4Welcome to Pine Script Tutorial #4 This is more complex than the previous 3 tutorials. This one builds upon the first 3 tutorials. What does this code do?: It plots on a histogram (at the bottom), the difference between closest round number and the close. So for example 84 -close = 16 pips. It shows the 16 pips on the histogram. First off, it is actually Two studies on this graph, not one. I wanted the histogram at the bottom and round number indicator to overlay on the graph. There is no code within Pine Script that lets you do that within one script. Secondly, there is no code that lets you spit out number on the graph, that is why I used histogram, initially I wanted it to tell me 16 pips in writing but no way of doing that. In order to replicate the graph you have to first plot the rounding formula as overlay. Thean take out the overlay and plot te histogram. I got the rounding formula from one of the coders here and simplified it. Just search round. Hope this helps, Feel free to comment.
Pine Script® インジケーター
MartinMystereの投稿
22

市場データ提供元: ICE Data services.その他データ提供元: FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

主要プロダクト
  • スーパーチャート
スクリーナー
  • 株式
  • ETF
  • 債券
  • 暗号コイン
  • CEXペア
  • DEXペア
  • Pine
ヒートマップ
  • 株式
  • ETF
  • 暗号
カレンダー
  • 経済
  • 決算
  • 配当
その他プロダクト
  • イールドカーブ
  • オプション
  • ニュースフロー
  • Pine Script®
アプリ
  • モバイル
  • デスクトップ
コミュニティ
  • ソーシャルネットワーク
  • ラブウォール
  • お友達紹介
  • ハウスルール
  • モデレーター
アイデア
  • トレーディング
  • 教育
  • エディターズ・ピック
Pineスクリプト
  • インジケーターとストラテジー
  • 魔術師
  • フリーランサー
ツールとサブスクリプション
  • 機能
  • 価格
  • マーケットデータ
トレーディング
  • 概要
  • ブローカー
スペシャルオファー
  • CMEグループ先物
  • Eurex先物
  • 米国株バンドルデータ
会社情報
  • 私たちについて
  • スペースミッション
  • ブログ
  • キャリア
  • メディアキット
商品
  • TradingViewストア
  • タロットカード
  • C63 TradeTime
ポリシーとセキュリティ
  • 利用規約
  • 免責事項
  • プライバシーポリシー
  • Cookieポリシー
  • アクセシビリティ宣言
  • セキュリティのヒント
  • バグバウンティ・プログラム
  • ステータスページ
ビジネスソリューション
  • ウィジェット
  • チャートライブラリ
  • Lightweight Charts™
  • 高機能チャート
  • トレーディングプラットフォーム
成長機会
  • 広告
  • ブローカーシステムの統合
  • パートナープログラム
  • 教育プログラム
コミュニティ
  • ソーシャルネットワーク
  • ラブウォール
  • お友達紹介
  • ハウスルール
  • モデレーター
アイデア
  • トレーディング
  • 教育
  • エディターズ・ピック
Pineスクリプト
  • インジケーターとストラテジー
  • 魔術師
  • フリーランサー
ビジネスソリューション
  • ウィジェット
  • チャートライブラリ
  • Lightweight Charts™
  • 高機能チャート
  • トレーディングプラットフォーム
成長機会
  • 広告
  • ブローカーシステムの統合
  • パートナープログラム
  • 教育プログラム
Look FirstLook First