1.MT4的文华文华MACD、KD、指标指标RSI怎样弄到文华财经上?
2.文华财经电脑版分时线同时设置macd和kd指标可以吗?
MT4的源码源码ros编译安装源码MACD、KD、公式RSI怎样弄到文华财经上?
MACD有没有大神能把MT4上的文华文华描) 源码单线MACD指标改成通达信,或者文华财经能用的指标指标Qibapay源码,万分感谢下面是源码源码指标源码:
//+------------------------------------------------------------------+
//| Custom MACD.mq4 |
//| Copyright -, MetaQuotes Software Corp. |
//| |
//+------------------------------------------------------------------+
#property copyright "-, MetaQuotes Software Corp."
#property link ""
#property description "Moving Averages Convergence/Divergence"
#property strict
#include <MovingAverages.mqh>
//--- indicator settings
#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Silver
#property indicator_color2 Red
#property indicator_width1 2
//--- indicator parameters
input int InpFastEMA=; // Fast EMA Period
input int InpSlowEMA=; // Slow EMA Period
input int InpSignalSMA=9; // Signal SMA Period
//--- indicator buffers
double ExtMacdBuffer[];
double ExtSignalBuffer[];
//--- right input parameters flag
bool ExtParameters=false;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit(void)
{
IndicatorDigits(Digits+1);
//--- drawing settings
SetIndexStyle(0,DRAW_HISTOGRAM);
SetIndexStyle(1,DRAW_LINE);
SetIndexDrawBegin(1,InpSignalSMA);
//--- indicator buffers mapping
SetIndexBuffer(0,ExtMacdBuffer);
SetIndexBuffer(1,ExtSignalBuffer);
//--- name for DataWindow and indicator subwindow label
IndicatorShortName("MACD("+IntegerToString(InpFastEMA)+","+IntegerToString(InpSlowEMA)+","+IntegerToString(InpSignalSMA)+")");
SetIndexLabel(0,"MACD");
SetIndexLabel(1,"Signal");
//--- check for input parameters
if(InpFastEMA<=1 || InpSlowEMA<=1 || InpSignalSMA<=1 || InpFastEMA>=InpSlowEMA)
{
Print("Wrong input parameters");
ExtParameters=false;
return(INIT_FAILED);
}
else
ExtParameters=true;
//--- initialization done
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Moving Averages Convergence/Divergence |
//+------------------------------------------------------------------+
int OnCalculate (const int rates_total,
const int prev_calculated,
const datetime& time[],
const double& open[],
const double& high[],
const double& low[],
const double& close[],
const long& tick_volume[],
const long& volume[],
const int& spread[])
{
int i,limit;
//---
if(rates_total<=InpSignalSMA || !ExtParameters)
return(0);
//--- last counted bar will be recounted
limit=rates_total-prev_calculated;
if(prev_calculated>0)
limit++;
//--- macd counted in the 1-st buffer
for(i=0; i<limit; i++)
ExtMacdBuffer=iMA(NULL,0,InpFastEMA,0,MODE_EMA,PRICE_CLOSE,i)-
iMA(NULL,0,InpSlowEMA,0,MODE_EMA,PRICE_CLOSE,i);
//--- signal line counted in the 2-nd buffer
SimpleMAOnBuffer(rates_total,prev_calculated,0,InpSignalSMA,ExtMacdBuffer,ExtSignalBuffer);
//--- done
return(rates_total);
}
//+------------------------------------------------------------------+
DIFF : EMA(CLOSE,) - EMA(CLOSE,), COLORSTICK;
DEA : EMA(DIFF,9);
送你 都能用应该
文华财经电脑版分时线同时设置macd和kd指标可以吗?
可以的,文华财经可以设置四个附图指标
一般文华财经默认附图指标有两个,公式你打开分时图,文华文华设置当前附图指标为macd和kd指标即可。指标指标
如果当前附图指标只有一个,源码源码可以点击右键添加附图指标。公式
文华文华STComTools源码账号出租源码_账号出租源码是什么
買日本電器回台容易壞?「高功率」電器要注意 專家建議加裝1神器
本週重點回顧:美國股債雙跌、台灣今年經濟成長不保2|天下雜誌
電動車領漲,美股下半年怎麼走?|烏龍球?中國限制關鍵金屬出口|天下雜誌
抖音快手点赞源码网站源码_抖音快手点赞源码网站源码是什么
本週重點回顧:台積電4年來首次季度獲利衰退、中國GDP低於預期|天下雜誌