like the title says, i need help coding a ribbon
i have two independent variables, an UP and DOWN
each variable has two statements
Up=EMAup>upMA ;
UpSide=EMAup<upMA ;
Dn=EMAdown<dnMA ;
DnSide=EMAdown>dnMA ;
Ribbon_kol=IIf(up ,colorBlue, IIf(upside, colorpink, IIf(dn, colorRed, colorlightblue);
Plot(4, "Ribbon", Ribbon_kol, styleOwnScale|styleArea|styleNoLabel, -0.5,100);
ribbon actually plots with no error, but only plots two colors
how should i approach this?
i have two independent variables, an UP and DOWN
each variable has two statements
Up=EMAup>upMA ;
UpSide=EMAup<upMA ;
Dn=EMAdown<dnMA ;
DnSide=EMAdown>dnMA ;
Ribbon_kol=IIf(up ,colorBlue, IIf(upside, colorpink, IIf(dn, colorRed, colorlightblue);
Plot(4, "Ribbon", Ribbon_kol, styleOwnScale|styleArea|styleNoLabel, -0.5,100);
ribbon actually plots with no error, but only plots two colors
how should i approach this?