חפש
מוצרים
קהילה
שווקים
חדשות
ברוקרים
עוד
HE
התחל
קהילה
/
רעיונות
/
Its5
H
Hyzon Motors Inc.
Its5
מאת alsubihi
עקוב
עקוב
לפני 7 ימים
2
פרגן
פרגן
לפני 7 ימים
//
version
=5
indicator("HMA Trend Signal", overlay=true)
// Parameters
length = input.int(21, title="HMA Length")
// Calculate the Hull Moving Average
wma1 = ta.wma(close, length)
wma2 = ta.wma(close, length / 2)
hma = ta.wma(2 * wma2 - wma1, math.round(math.sqrt(length)))
// Define conditions for buy and sell signals
buySignal = ta.crossover(close, hma)
sellSignal = ta.crossunder(close, hma)
// Plot the Hull Moving Average
plot(hma, color=color.blue, title="HMA")
// Plot signals
plotshape(buySignal, color=color.green, style=shape.labelup, location=location.belowbar, text="BUY", size=size.small)
plotshape(sellSignal, color=color.red, style=shape.labeldown, location=location.abovebar, text="SELL", size=size.small)
Harmonic Patterns
Technical Indicators
Trend Analysis
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד ב
תנאים וההגבלות
.