Discussions
»
Product and Service Development
»
Formula Assistance
»
Getting coding error from this article's exploration >>Stocks & Commodities V. 23:5 (48-57): Detecting Breakouts From Flags & Pennants by Markos Katsanos
Rank: Newbie
Groups: Registered, Registered Users Joined: 7/2/2011(UTC) Posts: 6
|
I found a article from Stocks & Commodities mag that finds flag/pennant breakouts however the code is giving me errors , error message is "unknown name , operator , or constant" for TARGET. Partial code below and link to full article, Thanks for any assistance.
http://theforexbooks.com...ormat=raw&tmpl=component
Getting error for TARGET , "unknown name , operator , or constant" ?
Column F
Name: Target Price
Formula:
zz:=Zig(C,17,%);
X:=BarsSince(ZZ<ref(ZZ,-1)AND Ref(ZZ,-1)>Ref(ZZ,-2));
X1:=LastValue(X)+1;
c2:=Ref(HHV(C,(2+X1)),-1);
c3:=Ref(LLV(C,26),-X1);
POLE:=(C2-C3)/C3*100;POLE
TARGET:=1.94* Power(pole ,.724); (1+TARGET/100)*C
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 7/2/2011(UTC) Posts: 6
|
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
Getting coding error from this article's exploration >>Stocks & Commodities V. 23:5 (48-57): Detecting Breakouts From Flags & Pennants by Markos Katsanos
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.