導航:首頁 > 黃金交易 > heikenashi指標源代碼

heikenashi指標源代碼

發布時間:2021-06-07 18:26:12

㈠ 哪裡有MT4 Heikin-ashi指標啊 MT4好像沒有這個指標

//+------------------------------------------------------------------+
//| Heiken Ashi.mq4 |
//| Copyright c 2004, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
//| For Heiken Ashi we recommend next chart settings ( press F8 or |
//| select on menu 'Charts'->'Properties...'): |
//| - On 'Color' Tab select 'Black' for 'Line Graph' |
//| - On 'Common' Tab disable 'Chart on Foreground' checkbox and |
//| select 'Line Chart' radiobutton |
//+------------------------------------------------------------------+
#property right "Copyright ?2004, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"

#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Red
#property indicator_color2 White
#property indicator_color3 Red
#property indicator_color4 White
#property indicator_width1 1
#property indicator_width2 1
#property indicator_width3 3
#property indicator_width4 3

//----
extern color color1 = Red;
extern color color2 = White;
extern color color3 = Red;
extern color color4 = White;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//----
int ExtCountedBars=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//|------------------------------------------------------------------|
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_HISTOGRAM, 0, 1, color1);
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexStyle(1,DRAW_HISTOGRAM, 0, 1, color2);
SetIndexBuffer(1, ExtMapBuffer2);
SetIndexStyle(2,DRAW_HISTOGRAM, 0, 3, color3);
SetIndexBuffer(2, ExtMapBuffer3);
SetIndexStyle(3,DRAW_HISTOGRAM, 0, 3, color4);
SetIndexBuffer(3, ExtMapBuffer4);
//----
SetIndexDrawBegin(0,10);
SetIndexDrawBegin(1,10);
SetIndexDrawBegin(2,10);
SetIndexDrawBegin(3,10);
//---- indicator buffers mapping
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexBuffer(3,ExtMapBuffer4);
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//---- TODO: add your code here

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
double haOpen, haHigh, haLow, haClose;
if(Bars<=10) return(0);
ExtCountedBars=IndicatorCounted();
//---- check for possible errors
if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
if (ExtCountedBars>0) ExtCountedBars--;
int pos=Bars-ExtCountedBars-1;
while(pos>=0)
{
haOpen=(ExtMapBuffer3[pos+1]+ExtMapBuffer4[pos+1])/2;
haClose=(Open[pos]+High[pos]+Low[pos]+Close[pos])/4;
haHigh=MathMax(High[pos], MathMax(haOpen, haClose));
haLow=MathMin(Low[pos], MathMin(haOpen, haClose));
if (haOpen<haClose)
{
ExtMapBuffer1[pos]=haLow;
ExtMapBuffer2[pos]=haHigh;
}
else
{
ExtMapBuffer1[pos]=haHigh;
ExtMapBuffer2[pos]=haLow;
}
ExtMapBuffer3[pos]=haOpen;
ExtMapBuffer4[pos]=haClose;
pos--;
}
//----
return(0);
}
//+------------------------------------------------------------------+

㈡ heiken ashi指標是什麼意思

Heikin-Ashi chart looks like the candlestick chart but the method of calculation and plotting of the candles on the Heikin-Ashi chart is different from the candlestick chart.其實是另類K線。但是其實都是一樣的本質,還是多花點時間研究本質的東西,到底什麼是趨勢,什麼是K線,K線的本質思想是什麼,別被表面的包裝紙看花了眼睛

㈢ 好用的股票分析軟體有哪些

免費版本的沒有具體的數據分析。相反,收費版本的有比較具體的數據分析,比如主力成本、大單買入賣出、機構是否加倉等等。

本人用的是免費版的。

外匯行情中有哪些分析指標

技術指標按原理不同可分為MA、MACD、RSI、KDJ等數十個指標,每一種指標都有其回獨到的地方,但單就答任何一種技術指標來說,其發出外匯保證金交易信號的准確性要遠低於與幾種技術指標配合使用的准確性。每一種指標由於在預測行情方面的特點不太一樣,預測周期不一樣等因素,准確程度也會有區別。
投資者只要能夠同時以3 6個技術指標為主來分析就可以了,超過6個或少於3個都不合適。你可以根據自己的喜好、投資的大小、短線或長線操作等選擇幾個最適合自身情況的指標群,稱之為外匯保證金交易的「核心指標」。
技術分析的優勢就在於它的客觀准確,但是對它的判斷投資者卻不能盲從於表面上看到的,還要加進去自己的分析和判斷。這樣你的交易才不是盲目沒有根據的,也不是隨機沒有計劃的,才能最大限度的接近成功,外匯保證金交易不是一場賭博而應該認真對待,做好計劃。

㈤ MT4里這種K線方法怎麼設置的啊

heiken ashi 普通蠟燭圖的平滑版,在mt4指標里找;這個不必過多追求蠟燭圖的單一形態,給分啦。

㈥ 把通達信簡單的指標轉化MT4能用的指標

MT4上有個叫heiken ashi的指標,就是這個。

㈦ 請哪位大仙幫忙一下,把Heikin-Ashi (MT4是叫ichmoku)蠟燭指標編成博易大師的指標,謝謝!!

可以到automt4那裡有自定製編程可以做到

㈧ mt4 Heiken Ash主圖指標如何改成副圖指標.

右擊Heiken Ash 選修改

chart 改成 separate 改好按下F7 重新拖入即可

㈨ 請問Heiken Ashi這個指標有未來函數嗎

HA的演算法粗略的說是取中間值,比K線要滯後,當成趨勢指標的話跟均線差不多,當拐點指標可以反應乖離率。這是沒有未來函數的,比K線滯後能有未來函數?

閱讀全文

與heikenashi指標源代碼相關的資料

熱點內容
4500和人民幣多少人民幣多少人民幣多少 瀏覽:531
匯添富醫療基金001417還能漲嗎 瀏覽:583
2008年鎳價格 瀏覽:145
信託地產通道 瀏覽:396
用車貸款怎麼貸 瀏覽:55
創鑫貸理財 瀏覽:451
投資者的理財意識風險 瀏覽:975
悟空理財與pro 瀏覽:546
股指期貨第四次調整 瀏覽:581
微粒貸貸款的利弊 瀏覽:424
歡樂頌2外匯交易系統 瀏覽:525
信託資金的風險 瀏覽:650
黃金外匯110 瀏覽:193
富人理財方法 瀏覽:627
中山市小額貸款銀行 瀏覽:177
民生銀行電子外匯轉賬 瀏覽:729
外匯轉賬交稅 瀏覽:918
外匯暴利方法 瀏覽:65
廈門諾亞理財 瀏覽:251
中信擔保理財 瀏覽:734