algoritma
e iπ +1=0
- Katılım
- 23 Eki 2020
- Mesajlar
- 1,337
- Puanları
- 48
Based on the premise that closing price may be predictable based on previous closes. See (1981 Technical Commodity Yearbook Robert M. Barnes Van Nostrand Reinhold 1981) for theory and applications. formula 1: if(fml("Barnes' adaptive forecast",2)>0.05,1,if(fml("Barnes' adaptive forecast",2)<-0.05,-1,0)) formula 2: mov(c,dayf,e) - ref(mov(c,dayf,e),-1) |
|
Barnes' Adaptive Forecast DayF:=Input("Enter periods:",2,100,14); BAF:=Mov(C, DayF, E) - Ref(Mov(C, DayF, E), -1); If( BAF > 0.05, 1, If( BAF < -0.05, -1, 0) ) |
Source / From: |