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

Notification

Icon
Error

Options
Go to last post Go to first unread
sisenberg  
#1 Posted : Thursday, March 9, 2017 5:52:14 PM(UTC)
sisenberg

Rank: Newbie

Groups: Registered Users, Subscribers
Joined: 3/9/2017(UTC)
Posts: 2

Thanks: 1 times
Very new to MS but like trend trading.  Looking for an indicator to avoid taking a trade during consolidation. In NinjaTrader I would use something similar to John Carters Squeeze and stay out when it was in a squeeze. I found a custom formula @ ​http://www.wisestocktrader.com/indicators/4122-aws_consolidation.  I pasted the formula into the builder I get the error, "​This is not a valid function name." The formula is: 
STD(WildersEMA( (HHV(L, 5) - LLV(H, 5)) , 10),30);


mstt  
#2 Posted : Thursday, March 9, 2017 9:14:54 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Apparently there are 2 ways to get your formula to function as intended. Std(Data Array, Periods) and Stdev(Data Array, Periods) both work as the Standard Deviation function (tested on MS 9.1). On the other hand WildersEMA() is not a legitimate function name. The correct name is just Wilders(). It's true that Wilders Smoothing is a form of EMA but as far as I'm aware the function name is only recognized by MetaStock in the form of Wilders(Data array, Periods). Std(Wilders((HHV(L, 5) - LLV(H, 5)), 10),30); Stdev(Wilders((HHV(L, 5) - LLV(H, 5)), 10),30); Roy
thanks 1 user thanked mstt for this useful post.
sisenberg on 3/10/2017(UTC)
sisenberg  
#3 Posted : Friday, March 10, 2017 2:49:28 AM(UTC)
sisenberg

Rank: Newbie

Groups: Registered Users, Subscribers
Joined: 3/9/2017(UTC)
Posts: 2

Thanks: 1 times
Perfect, thank you very much Roy.
faysal  
#4 Posted : Friday, March 31, 2017 9:03:43 PM(UTC)
faysal

Rank: Newbie

Groups: Registered Users, Subscribers
Joined: 3/31/2017(UTC)
Posts: 2

Originally Posted by: sisenberg Go to Quoted Post
Perfect, thank you very much Roy.
hi guys, what will be the consolidation formula in MS ? please can you give an example . thanks
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.