PureBytes Links
Trading Reference Links
|
Hi,
I had a crash.
F..k the initialisation, I forget it often in Cpp
now the dll does not crash,
the new dll has been uploaded
stephane
> try, please, to optimize these simple trading system (also one
variable at a time) and tell me if AB crashes. It happens at 7th
step. Attached you can read the bug report.
>
> p.s.: I think the trouble is not due to Stephan's dll, but to
Metastock CBL formula, because yesterday I had the same crash using
the AFL version of that formula.
>
> //COUNTBACK Line
>
> HighDays = Optimize("",2,2,55,1);
>
> LowDays = 2;//Optimize("",2,2,55,1);
>
> BuyStop = msCBLShort(HighDays);
>
> SellStop = msCBLLong(LowDays);
>
> Buy = Cross(C,BuyStop);
>
> Sell = Cross(SellStop,C);
>
> Buy=ExRem(Buy,Sell);
>
> Sell=ExRem(Sell,Buy);
>
> Filter=(Buy OR Sell);
>
>
> Beste regards and thanks in advance,
>
> Franco
>
> AmiBroker version 4.16.0
> ( cooltool.dll 4.16.0, mfc42.dll 6.0.8665, msvcrt.dll 6.0.8797 )
>
> Microsoft Windows 98 version 4.10 (Build 2222)
> Service Pack 0.0
> Common Controls: 5.81
>
> Unhandled exception
> Type: CSysException
> Code: c0000005
> Description: ACCESS VIOLATION
> Address: 7800cb6a
> HWnd: 0x0184
> Msg: 0x0110
> wParam: 0x000001e8
> lParam: 0x00000000
>
> Additional information:
>
> Number of stock loaded: 468
> Currently selected stock: KSWS
> Number of quotes (current stock): 939
>
> Command history:
> 2828 - Shows Analyser - a tool to test systems & explore market--
Auto-Analyser
> 5003 - Daily quotations view--Daily view
>
> Workspace:
> Data source = 0, Data local mode = 0, NumBars = 1000
>
> Preferences:
> Data source = 1, Data local mode = 1, NumBars = 1000
>
> Cache manager stats:
> Number of list elements: 100
> Number of map elements: 100
> Hash table size: 5987
>
> Memory status:
> MemoryLoad: 100 %
> TotalPhys: 130496K AvailPhys: 132K
> TotalPageFile: 1966652K AvailPageFile: 1840024K
> TotalVirtual: 2093056K AvailVirtual: 2041856K
|