nazomobile

HighLowBox+220MAs[libHTF]

nazomobile מעודכן   
HighLowBox+220MAs
This is a sample script of libHTF to use HTF values without request.security().
import nazomobile/libHTFwoRS/1

HTF candles are calculated internally using 'GMT+3' from current TF candles by libHTF.
To calcurate Higher TF candles, please display many past bars at first.
The advantage and disadvantage is that the data can be generated at the current TF granularity.
Although the signal can be displayed more sensitively, plots such as MAs are not smooth.

In this script, assigned ➊,➋,➌,➍ for htf1,htf2,htf3,htf4.

HTF candles
Draw candles for HTF1-4 on the right edge of the chart. 2 candles for each HTF.
They are updated with every current TF bar update.
Left edge of HTF candles is located at the x-postion latest bar_index + offset.

DMI HTF
ADX/+DI/DI arrows(8lines) are shown each timeframes range.
Current TF's is located at left side of the HighLowBox.
HTF's are located at HighLowBox of HTF candles.
The top of HighLowBox is 100, The bottom of HighLowBox is 0.

HighLowBox HTF
Enclose in a square high and low range in each timeframe.
Shows price range and duration of each box.

In current timeframe, shows Fibonacci Scale inside(23.6%, 38.2%, 50.0%, 61.8%, 76.4%)/outside of each box.
Outside(161.8%,261.8,361.8%) would be shown as next target, if break top/bottom of each box.
In HTF, shows Fibonacci Level of the current price at latest box only.

Boxes:
  • 1 for current timeframe.
  • 4 for higher timeframes.(Steps of timeframe: 5, 15, 60, 240, D, W, M, 3M, 6M, Y)

HighLowBox TrendLine
Draw TrendLine for each HighLow Range. TrendLine is drawn between high and return high(or low and return low) of each HighLowBox.
Style of TrendLine is same as each HighLowBox.

HighLowBox RSI

RSI Signals are shown at the bottom(RSI<=30) or the top(RSI>=70) of HighLowBox in each timeframe.
RSI Signal is color coded by RSI9 and RSI14 in each timeframe.(current TF: ●, HTF1-4: ➊➋➌➍)

In case of RSI<=30, Location: bottom of the HighLowBox
  • white: only RSI9 is <=30
  • aqua: RSI9&RSI14 <=30 and RSI9<RSI14
  • blue: RSI9&RSI14 <=30 and RSI9>RSI14
  • green: only RSI14 <=30
In case of RSI>=70, Location: top of the HighLowBox
white: only RSI9 is >=70
yellow: RSI9&RSI14 >=70 and RSI9>RSI14
orange: RSI9&RSI14 >=70 and RSI9<RSI14
red: only RSI14 >=70

blue/green and orange/red could be a oversold/overbought sign.

20/200 MAs
Shows 20 and 200 MAs in each TFs(tfChart and 4 Higher).

TFs:
  • current TF
  • HTF1-4
MAs:
  • 20SMA
  • 20EMA
  • 200SMA
  • 200EMA
הערות שחרור:
due to library updates.
הערות שחרור:
Bug fix:
  • 20SMA of HTF3 was referring wrong SPAN.
הערות שחרור:
due to library updates, and minor fixes for compiler warnings.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?