Eviews crashing computer after running code

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

sudesh
Posts: 51
Joined: Fri Nov 03, 2017 7:30 pm

Eviews crashing computer after running code

Postby sudesh » Tue Mar 20, 2018 12:55 pm

Hi,

After running my loop, my two screens turn black and eviews stop responding. The workfile and the program are enclosed.


I do not understand why it is not responding. Is it the fact that eviews has a memory limit( Wf was huge... 3 or 4gb)...
eviews_forum_prg.prg
(952 Bytes) Downloaded 18 times



string signal = "signal_d signallong_d signalshort_d"
string type= "sr tr"
string certain = "ek cn uk jp au"

for %s {signal}
for %y {type}
for %i {certain}

matrix az_{%s}_{%y}_{%i} = @eeq(@ediv({%s}_{%y}_{%i},{%s}_{%y}_{%i}),1)
matrix(@rows(az_{%s}_{%y}_{%i}),@columns(az_{%s}_{%y}_{%i})) last_az_{%s}_{%y}_{%i}


next
next
next


cd "W:\RA\Gestion dynamique des devises\Modèle quantitatif\Backtesting\Backtesting\eviews\scenarios\workfile\a faire"

logmode(autosave=on) p

for %s {signal}
for %y {type}
for %i {certain}
for !i=2 to @rows(az_{%s}_{%y}_{%i})
rowplace(az_{%s}_{%y}_{%i},@rowextract(az_{%s}_{%y}_{%i},!i)+@rowextract(az_{%s}_{%y}_{%i},!i-1),!i)

rowplace(az_{%s}_{%y}_{%i},@emult(@rowextract(az_{%s}_{%y}_{%i},!i),@rowextract(@eneq(az_{%s}_{%y}_{%i},@lag(az_{%s}_{%y}_{%i},1)),!i)),!i)

rowplace(last_az_{%s}_{%y}_{%i},@emult(@rowextract(az_{%s}_{%y}_{%i},!i),@rowextract(@lag(@eeq(az_{%s}_{%y}_{%i},0),-1),!i)),!i)




next
next
next
next

sudesh
Posts: 51
Joined: Fri Nov 03, 2017 7:30 pm

Re: Eviews crashing computer after running code

Postby sudesh » Tue Mar 20, 2018 1:06 pm

I cant send you the workfile : File too large: eviews_forum.wf1

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11844
Joined: Tue Sep 16, 2008 5:38 pm

Re: Eviews crashing computer after running code

Postby EViews Gareth » Tue Mar 20, 2018 1:09 pm

You can email it to support@eviews.com
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 6 guests