eiπ + 1 = 0
- 23 Eki 2020
Here is the gap-trading system code for use in Equis International's MetaStock software.
For practical reasons, the system has been defined as an indicato rrathert han a system, showing the cumulated profit.
gap:= 100*(OPEN - Ref(CLOSE, -1))/Ref(CLOSE,-1);
prf:= If(gap>=up, OPEN-CLOSE, If(gap<=-dn,CLOSE-OPEN,0));
Source / From: