㈠ 哪裡有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);
}
//+------------------------------------------------------------------+
㈡ mt4 添加指標後怎麼不顯示
新版MT4(Build 625),其自定義指標存放路徑和舊版有所區別,其存放路徑如下:
- MetaTrader 4\MQL4\Indicators
把指標存放到以上文件夾之後版,權需要重新啟動平台,然後可以在自定義指標裡面找到所保存的指標。
㈢ 如何識別某些交易商mt4提供的指標中是否含有未來函數呢
理論上講 沒有源碼的話 只能通過1M的K線圖觀察已出現的最新信號 是否在後續新K線產生時消失 來判斷是否有未來函數
㈣ 為什麼我的mt4導航器當中沒有自定義指標
自定義指標載入方法:
先拷貝相應文件到自定義指標的指定目錄,如:D:\*\* Terminal\MQL4\Indicators然後:如果此時MT4呈打開狀態,需要在導航欄右鍵——刷新;如果MT4沒打開,直接打開MT4即可。
㈤ 關於MT4未來函數的問題說明,怎麼判斷是否有未來
沒有源碼沒法分辨到底有沒有未來函數,有源碼的話簡單的說看它參與運算數據是否有當時尚未出現的數據。比如算15分鍾周期k線的一個指標可以引用它之前的數據如果它引用了它之後當時尚未出現的數據就是未來函數。
㈥ 怎麼檢測MT4指標有沒有未來函數.用什麼軟體檢測
這個不需要軟體吧,再說軟體檢測的也不準啊。譬如說High, Low這樣的函數,你說是不是為來函說版呢?用在當下的柱子權,是未來函數;用在以前的柱子,不是未來函數。所以還是認真體會函數本身的含義,結合到具體的程序中去判定是不是未來函數。另外,由未來函數不見得就不是好程序。
㈦ mt4怎麼添加指標新版的MT4加之前的指標怎麼都不顯示了啊
途觀好貨貴婦人雙人床剛回家別克句加工費方向感剛回家快播你看不見不開機就不可能老款幾句話桂魚
㈧ http://怎麼才能使mt4指標信號不消失/
如果指標信號消失,那說明這個指標用的是未來函數。這個指標基本上沒有用。
㈨ 我的mt4裡面怎麼沒有expma指標
最新BOLL和KDJ指標共振穩賺獲利方法,詳細看視頻講解!
㈩ 為什麼MT4軟體沒有KDJ指標
MT4軟體沒有KDJ指標是設置錯誤造成的,解決方法為:
1、點擊上方工具欄帶內f和小加號的那個工具,會彈容出最近常使用的指標和指標分類,分類里包括趨勢指標、震盪指標、成交量、自定義等。