عرض مشاركة واحدة
قديم 03-02-2012, 08:58 PM   #9
الرجل المستحيل
محلل فني
 
تاريخ التسجيل: Oct 2011
المشاركات: 3,991
افتراضي رد: التحليل الفني ************* جميع ماهو مفيد

خذ المعادلة
rsi + macd
ركز في اللون الازرق في الشريط السفلي فهو يمثل الماكد + مؤشر rsi فوق 50
_SECTION_BEGIN("MACD");
ml = MACD(14, 26);
dd= Signal(14,26,9);
Hist=ml-dd;
Plot(2.5, "Ribbon",IIf(Hist>0,colorBlue,colorRed),styleOwnSc ale|styleArea|styleNoLabel, 1.5, 100 );
_SECTION_END();
_SECTION_BEGIN("RSI msh");
ml = RSI(12);
dd= Signal(12,9);
Hist1=ml-dd;
Plot(EMA((ml-dd),1) ,"",7,styleLine+styleDots);
col_hist= IIf(Cross(EMA(C,50),EMA(C,5)),colorRed,IIf(Cross(E MA(C,5),EMA(C,50)),colorWhite,IIf(Hist1 > BBandTop( Hist1, 5, 0.5 ),colorGreen,IIf(Hist1 < BBandBot( Hist1, 5, 0.5 ),colorBlack,colorBlack))));
numbars = SelectedValue(Cum(Status("barvisible")));
fraction= IIf(StrRight(Name(),11) == "",3.2,3.2);
hts = Param ("Text Shift", -50,-100,100,10);
PlotText(">>>" + WriteVal(ml,fraction),
SelectedValue(BarIndex())-(numbars/hts),SelectedValue(ml),2);
Plot (Hist1,"",col_hist, styleHistogram+styleLine+styleNoLabel);
Plot(7.5, "Ribbon",IIf(EMA((ml-dd),1)>Ref(EMA((ml-dd),1),-1),colorBrightGreen,colorRed),styleOwnScale|styleA rea|styleNoLabel, 7.5, 100 );
_SECTION_END();
_SECTION_BEGIN(" ribbon");
ml = MACD(14, 26);
dd= Signal(14,26,9);
Plot(3.5, "Ribbon",IIf(MA((ml-dd),1)>Ref(MA((ml-dd),1),-1),colorBlue,colorRed),styleOwnScale|styleArea|sty leNoLabel, -0.5, 100 );
_SECTION_END();

Plot(60, "", colorCustom12,styleDots);
Plot(30, "", colorCustom12,styleDots);
Plot(0, "", colorBlack,styleDots);

_SECTION_BEGIN("Background");
SetChartOptions(0,chartShowArrows|chartShowDates);
priceTitle=StrFormat("---- {{NAME}} ---------- {{VALUES}}");
Title ="Averages" + priceTitle;

if( ParamToggle("Tooltip shows", "All Values|Only Prices" ) )
{
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 )));
}

SetChartBkColor(ParamColor("Outer panel color ",colorBlack)); // color of outer border
SetChartBkGradientFill( ParamColor("Inner panel color upper half",colorBlack),ParamColor("Inner panel color lower half",colorBlack)); // color of inner panel
_SECTION_END();
الرجل المستحيل غير متواجد حالياً   رد مع اقتباس
  #9  
قديم 03-02-2012 , 08:58 PM
الرجل المستحيل الرجل المستحيل غير متواجد حالياً
محلل فني
تاريخ التسجيل: Oct 2011
المشاركات: 3,991
افتراضي رد: التحليل الفني ************* جميع ماهو مفيد

خذ المعادلة
rsi + macd
ركز في اللون الازرق في الشريط السفلي فهو يمثل الماكد + مؤشر rsi فوق 50
_SECTION_BEGIN("MACD");
ml = MACD(14, 26);
dd= Signal(14,26,9);
Hist=ml-dd;
Plot(2.5, "Ribbon",IIf(Hist>0,colorBlue,colorRed),styleOwnSc ale|styleArea|styleNoLabel, 1.5, 100 );
_SECTION_END();
_SECTION_BEGIN("RSI msh");
ml = RSI(12);
dd= Signal(12,9);
Hist1=ml-dd;
Plot(EMA((ml-dd),1) ,"",7,styleLine+styleDots);
col_hist= IIf(Cross(EMA(C,50),EMA(C,5)),colorRed,IIf(Cross(E MA(C,5),EMA(C,50)),colorWhite,IIf(Hist1 > BBandTop( Hist1, 5, 0.5 ),colorGreen,IIf(Hist1 < BBandBot( Hist1, 5, 0.5 ),colorBlack,colorBlack))));
numbars = SelectedValue(Cum(Status("barvisible")));
fraction= IIf(StrRight(Name(),11) == "",3.2,3.2);
hts = Param ("Text Shift", -50,-100,100,10);
PlotText(">>>" + WriteVal(ml,fraction),
SelectedValue(BarIndex())-(numbars/hts),SelectedValue(ml),2);
Plot (Hist1,"",col_hist, styleHistogram+styleLine+styleNoLabel);
Plot(7.5, "Ribbon",IIf(EMA((ml-dd),1)>Ref(EMA((ml-dd),1),-1),colorBrightGreen,colorRed),styleOwnScale|styleA rea|styleNoLabel, 7.5, 100 );
_SECTION_END();
_SECTION_BEGIN(" ribbon");
ml = MACD(14, 26);
dd= Signal(14,26,9);
Plot(3.5, "Ribbon",IIf(MA((ml-dd),1)>Ref(MA((ml-dd),1),-1),colorBlue,colorRed),styleOwnScale|styleArea|sty leNoLabel, -0.5, 100 );
_SECTION_END();

Plot(60, "", colorCustom12,styleDots);
Plot(30, "", colorCustom12,styleDots);
Plot(0, "", colorBlack,styleDots);

_SECTION_BEGIN("Background");
SetChartOptions(0,chartShowArrows|chartShowDates);
priceTitle=StrFormat("---- {{NAME}} ---------- {{VALUES}}");
Title ="Averages" + priceTitle;

if( ParamToggle("Tooltip shows", "All Values|Only Prices" ) )
{
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 )));
}

SetChartBkColor(ParamColor("Outer panel color ",colorBlack)); // color of outer border
SetChartBkGradientFill( ParamColor("Inner panel color upper half",colorBlack),ParamColor("Inner panel color lower half",colorBlack)); // color of inner panel
_SECTION_END();
رد مع اقتباس