Backe
unregistriert
Backe
unregistriert
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
calc HHV: HHV(close, z); calc LLV: LLV(close, z); calc SAR: SAR(close,s,m); calc al: HHV > Ref(HHV,-1) and close > ValueWhen(SAR, LLV < Ref(LLV,-1), 1, V); calc as: LLV < Ref(LLV,-1) and close < ValueWhen(SAR, HHV > Ref(HHV,-1), 1, V); calc w: BarsSince(al=1, 1) < BarsSince(as=1, 1); calc bl: al+as=0 and w=1; calc bs: al+as=0 and w=0 ; calc wal: If(al=1, SAR, 0); calc was: If(as=1, SAR, 0); calc wbl: If(bl=1, ValueWhen(SAR, al=1, 1, V), 0); calc wbs: If(bs=1, ValueWhen(SAR, as=1, 1, V), 0); wal+was+wbl+wbs |
Backe
unregistriert
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
calc HHV: HHV(c, z); calc LLV: LLV(c, z); calc SAR: SAR(c,s,m); calc al: HHV > Ref(HHV,-1) and c > ValueWhen(SAR, LLV < Ref(LLV,-1), 1, V) and c > sar; calc as: LLV < Ref(LLV,-1) and c < ValueWhen(SAR, HHV > Ref(HHV,-1), 1, V) and c < sar; calc w: BarsSince(al=1, 1) < BarsSince(as=1, 1); calc bl: al+as=0 and w=1; calc bs: al+as=0 and w=0 ; calc wal: If(al=1, SAR, 0); calc was: If(as=1, SAR, 0); calc wbl: If(bl=1, ValueWhen(SAR, al=1, 1, V), 0); calc wbs: If(bs=1, ValueWhen(SAR, as=1, 1, V), 0); wal+was+wbl+wbs |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Backe« (4. Februar 2003, 07:57)