Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

trying to use log for debugging Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jrf-word
Posted : Wednesday, July 28, 2010 8:57:02 PM
Registered User
Joined: 7/19/2010
Posts: 5

below please find two code items that do not work.
in both i am trying to reduce redundant logging.
can you help me to get it to work?

'|********************************************************************
'|*** StockFinder RealCode Condition - version 5.0
'|******************************************************************

'>> reduce the amount of logging!
'>> wll not work?? use log only for first bar of each symbol! 
'If isfirstbar Then
' Me.log.info(" symbol= " & currentsymbol & " count= " & count)
'End If

'>> reduce amount of logging!
'>> will not work?? use log for last (count - 15) bars on right!
'If currentindex > (count - 15)
' 'Me.Log.info(" curindex= " & currentindex)
'End If

'>> this works?
If  price.Close > price.AVG(21) Then pass

 

StockGuy
Posted : Friday, July 30, 2010 5:26:37 PM

Administration

Joined: 9/30/2004
Posts: 9,187
We've see your posts but don't have an answer on your logging questions.  We'll try to get a developer to take a look but right now they're busy working on the latest version 5 release.
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.