Percentage:=Input("Enter the percentage threshhold;",0.01,20,4.0);
Period:=Input("Enter the number of periods;",5,55,21);
Thr:=Input("Enter the close out level;",5,55,14);
base:=(100-Percentage)/100;
top:=(100+Percentage)/100;
Dtn:=If((C*base)>PREV,C*base,If((C*top)<PREV,C*top,PREV));
trend:=Sum(Dtn=Ref(Dtn,-1),Period);
Red:=If(trend>=Thr,1,0);
Green:=If(trend<Thr,1,0);
Red;Green
Değişken tanımlama hatası alıyorum. hata nerede acaba?
- Soruldu
- Görüntülenme
- 1.362 görüntülenme
- Durum
- Cevaplandı

