Probier mal das hier:
Input: Length(5), KAdjust(3), DAdjust(3), OverBought(80), OverSold(20); Variables: KAdjusted(0), DAdjusted(0);
KAdjusted = SlowKClassic(KAdjust, Length); DAdjusted = SlowDClassic(DAdjust, Length);
IF CurrentBar > Length Then Begin Plot1(KAdjusted, "%K"); Plot2(DAdjusted, "%D"); End; Plot3(OverBought, "OverBought"); Plot4(OverSold, "OverSold");
{Alert Criteria} If Plot1 > OverBought Then Alert("The %K line is in overbought territory") Else If Plot1 < OverSold Then Alert("The %K line is in oversold territory");
{Stochastics Expert Commentary} #BeginCmtry Commentary(ExpertStochastic(Plot1, Plot2, Plot3, Plot4)); #End;
Wenn Du den inidkator einfügst kannst du die gewünschten Änderungen vornehmen...
Gruss
Guido
|