logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
v.trader  
#1 Posted : Tuesday, April 20, 2010 10:59:26 PM(UTC)
v.trader

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/26/2009(UTC)
Posts: 76
Location: Toronto, Canada

Hello, I"m getting the error "The end of the Commentary was reached while parsing a statement" while coding this basic expert: The 1.6XATR Long stop loss based on today's low is writeval(L-1.6*ATR(5)) The 1.6X ATR Short stop loss based on today's high is writeval(H+1.6*ATR(5)) The 2X ATR Long Target based on today's high is writeval(H+2*ATR(5)) The 2X ATR Short Target based on today's low is writeval(L-3*ATR(5) Any advice would be greatly appreciated. Thank you. VT
wabbit  
#2 Posted : Tuesday, April 20, 2010 11:39:09 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Missing closing ')' after 3*ATR(5)


wabbit [:D]

v.trader  
#3 Posted : Wednesday, April 21, 2010 9:44:24 AM(UTC)
v.trader

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/26/2009(UTC)
Posts: 76
Location: Toronto, Canada

Oh OK I see now.. I though that metastock would actually point and state an error of this kind like it does in the Indicator builder. Thanks again. VT
Users browsing this topic
Guest (Hidden)
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.