[MT4指标]日线斐波那契阻力支持
主图指标 日线斐波那契阻力支持
mt4指标类型:震荡指标
是否能用在mt4手机版上:否
是否含有未来函数:无
可以用在韬客外汇返佣网的平台上
#property copyright "Copyright ? 2005, Live Charts"
#property link "http://www.livecharts.co.uk"
#property indicator_chart_window
#property indicator_buffers 7
#property indicator_color1 Red
#property indicator_color2 OrangeRed
#property indicator_color3 Yellow
#property indicator_color4 Aqua
#property indicator_color5 Yellow
#property indicator_color6 OrangeRed
#property indicator_color7 Red
extern bool S1_R1 = true;
extern bool S2_R2 = true;
extern bool S3_R3 = true;
bool sr[3];
int lastShift = -1;
double PP, S[4], R[4];
double PP_Buffer;
double S1_Buffer;
double S2_Buffer;
double S3_Buffer;
double R1_Buffer;
double R2_Buffer;
double R3_Buffer;
int init()
{
int i;
IndicatorShortName("Fibonacci Daily");
IndicatorDigits(MarketInfo(Symbol(), MODE_DIGITS));
sr[0] = S1_R1;
sr[1] = S2_R2;
sr[2] = S3_R3;
for(i=0; i<3; i++)
{
int style;
if(sr==true)
style = DRAW_LINE;
else
style = DRAW_NONE;
SetIndexStyle(2-i, style);
SetIndexStyle(i+4, style);
}
SetIndexBuffer(0, S3_Buffer);
SetIndexBuffer(1, S2_Buffer);
SetIndexBuffer(2, S1_Buffer);
SetIndexBuffer(3, PP_Buffer);
SetIndexBuffer(4, R1_Buffer);
SetIndexBuffer(5, R2_Buffer);
SetIndexBuffer(6, R3_Buffer);
string indexLabels = {"S3", "S2", "S1", "Pivot", "R1", "R2", "R3"};
for(i=0; i<7; i++)
{
SetIndexLabel(i, indexLabels);
}
}
int deinit()
{
}
int start()
{
int counted_bars = IndicatorCounted();
int nBars = (Bars - counted_bars) - 1;
for(int i=0; iLC_FibonacciDaily.jpg
发表于:2015-02-10 13:15只看该作者
2楼
到底好用不好用
韬客社区www.talkfx.co
发表于:2015-04-03 08:17只看该作者
3楼
求用后感慨
韬客社区www.talkfx.co
发表于:2016-03-02 06:35只看该作者
4楼
韬客社区www.talkfx.co
发表于:2016-05-03 10:30只看该作者
5楼
新手 顶贴 赚通宝 感谢分享!
韬客社区www.talkfx.co