Wie kan mij vertellen wat er aan onderstaande formule fout is ?
groet
Joop Henzen
inputs:
ShadowColor(White),
ShadowThickness(5),
UpBodyColor(Green),
DownbodyColor(Red),
BodyThickness(3);
variables:
haClose(0),
haOpen(0),
haHigh(0),
haLow(0),
TrLinIDlohi(0),
TRLinIDopcl(0),
SizeFuncRtn(0),
ColorFuncRtn(0);
haClose = (o+h+l+c)/4;
haOpen = (haOpen[1] + haClose[1])/2;
haHigh = MaxList(H, haOpen, haClose);
haLow = MinList(L, haOpen, haClose);
TrLinIDlohi = TL_New(Date, Time, haLow, Date, Time, haHigh);
SizeFuncRtn = TL_Setsize(TrLinIDlohi, ShadowThickness);
ColorFuncRtn = TL_SetColor(TrLinIDlohi, ShadowColor);
TRLinIDopcl = TL_New(Date, Time, haOpen, Date, Time, haClose);
if haOpen <= haClose then
? ColorFuncRtn = TL_SetColor(TRLinIDopcl, UpbodyColor)
else
? ColorFuncRtn = TL_SetColor(TRLinIDopcl, DownbodyColor); ?
SizeFuncRtn = TL_Setsize(TRLinIDopcl, Bodythickness);