Gary, I'm getting different results from a scan ran on 9-16 and then after updating for 9-17.
The following scan returned CYMI and HMA on 9-16 after the 9-16 update. After the 9-17 update (and setting the loop back one day) there were no HITS for 9-16.
There seems to be a problem with the ABS function?? Data?? or???? If I changed the marked lines I can get CYMI to come up but have not been able to get HMA.
I have a second computer that had not been updated to 9-17 and the results for 9-16 still come up CYMI & HMA.
After backing up comp #2, I updated with the 9-17 data and ran the scan for 9-16, no HITS.
This leads me to believe that the data is corrupted in such a way that it messes up the ABS function?
Please help!!
TIA Roy
Input"Issue List.lst"; Output"!Morning DOJI Star.lst"; Integer i,Start,End,NumDays; //For back test loop // // Start and End were 0 on 9-16 and changed to -1 on 9-17 getting different results // Start:=-1; // Set to Oldest day for loop End:=-1; // Set to Most recent day for loop NumDays:=0; // Set to number of days for MovAvg etc. DaystoLoad((Start*-1)+10); For i=start to end DO //Black Body first day If Close(i-2)Open(i-2)*.03 //Longer Body Then //Gapping Body second day If Open(i-1)Open(i)and //White body (Close(i)-Open(i))>Open(i)*.03 //Longer body Then // Down Trend Previously If Close(i-1)<Close(i-2)and Close(i-2)<Close(i-3)and Close(i-3)<Close(i-4)and Close(i-4)<Close(i-5)//and Then PrintLn Symbol,",",Date(i),",","Morning Star" ,",","Reversal at Bottom";
//The following line was inserted for testing the inconsistent results //PrintLn Open(i-2),",",Close(i-2),",",Open(i-1),",",Close(i-1),",",Open(i),",",Close(i);
EndIf; EndIf; EndIf; EndIf; EndIf;
Next i; |