الموضوع: رأس حربه
عرض مشاركة واحدة
قديم 25-01-2012, 03:00 AM   #1727
الرجل المستحيل
محلل فني
 
تاريخ التسجيل: Oct 2011
المشاركات: 3,991
افتراضي رد: رأس حربه

_SECTION_BEGIN("Price");
BarColor =IIf(C>BBandTop(C,14,1.5),colorPaleGreen,IIf(C<BBa ndBot(C,14,1.5),colorRed,colorBlack));
Plot(C, "", BarColor, styleNoTitle| styleThick | styleLine);
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 )));
Plot( Open, "Open", 0, styleHidden );
Plot(Close, "Close", 0, styleHidden );
Plot(High, "High", 0, styleHidden );
Plot(Low, "Low", 0, styleHidden );
SetChartBkColor( ParamColor("background",colorDarkGrey));
_SECTION_END();

BarColor = IIf((EMA(C,900)>Ref(EMA(C,900),-1)),colorDarkRed,colorDarkRed);
Plot(EMA(C,900),"",BarColor,styleLine);

BarColor = IIf((EMA(C,600)>Ref(EMA(C,600),-1)),colorDarkRed,colorDarkRed);
Plot(EMA(C,600),"",BarColor,styleDots);

BarColor = IIf((EMA(C,200)>Ref(EMA(C,200),-1)),colorBlue,colorBlue);
Plot(EMA(C,200),"",BarColor,styleDots);

BarColor = IIf((EMA(C,50)>Ref(EMA(C,50),-1)),colorBrightGreen,colorRed);
Plot(EMA(C,50),"",BarColor,styleDots);

BarColor = IIf((EMA(C,5)>Ref(EMA(C,5),-1)),colorLightBlue,colorLightBlue);
Plot(EMA(C,5),"",BarColor,styleDots);
PlotOHLC(Null,EMA(C,5),EMA(C,50),Null,"",BarColor, styleCloud+styleNoLabel);

_SECTION_END();

ml = MACD(14, 26);
dd= Signal(14,26,9);
Plot(1.5, "Ribbon",IIf(MA((ml-dd),1)>Ref(MA((ml-dd),1),-1),colorBlue,colorRed),styleOwnScale|styleArea|sty leNoLabel, -0.5, 100 );
الرجل المستحيل غير متواجد حالياً  
  #1727  
قديم 25-01-2012 , 03:00 AM
الرجل المستحيل الرجل المستحيل غير متواجد حالياً
محلل فني
تاريخ التسجيل: Oct 2011
المشاركات: 3,991
افتراضي رد: رأس حربه

_SECTION_BEGIN("Price");
BarColor =IIf(C>BBandTop(C,14,1.5),colorPaleGreen,IIf(C<BBa ndBot(C,14,1.5),colorRed,colorBlack));
Plot(C, "", BarColor, styleNoTitle| styleThick | styleLine);
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 )));
Plot( Open, "Open", 0, styleHidden );
Plot(Close, "Close", 0, styleHidden );
Plot(High, "High", 0, styleHidden );
Plot(Low, "Low", 0, styleHidden );
SetChartBkColor( ParamColor("background",colorDarkGrey));
_SECTION_END();

BarColor = IIf((EMA(C,900)>Ref(EMA(C,900),-1)),colorDarkRed,colorDarkRed);
Plot(EMA(C,900),"",BarColor,styleLine);

BarColor = IIf((EMA(C,600)>Ref(EMA(C,600),-1)),colorDarkRed,colorDarkRed);
Plot(EMA(C,600),"",BarColor,styleDots);

BarColor = IIf((EMA(C,200)>Ref(EMA(C,200),-1)),colorBlue,colorBlue);
Plot(EMA(C,200),"",BarColor,styleDots);

BarColor = IIf((EMA(C,50)>Ref(EMA(C,50),-1)),colorBrightGreen,colorRed);
Plot(EMA(C,50),"",BarColor,styleDots);

BarColor = IIf((EMA(C,5)>Ref(EMA(C,5),-1)),colorLightBlue,colorLightBlue);
Plot(EMA(C,5),"",BarColor,styleDots);
PlotOHLC(Null,EMA(C,5),EMA(C,50),Null,"",BarColor, styleCloud+styleNoLabel);

_SECTION_END();

ml = MACD(14, 26);
dd= Signal(14,26,9);
Plot(1.5, "Ribbon",IIf(MA((ml-dd),1)>Ref(MA((ml-dd),1),-1),colorBlue,colorRed),styleOwnScale|styleArea|sty leNoLabel, -0.5, 100 );