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);
|
|
|
|
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
|
1 user thanked mstt for this useful post.
|
|
|
Rank: Newbie
Groups: Registered Users, Subscribers Joined: 3/9/2017(UTC) Posts: 2
Thanks: 1 times
|
Perfect, thank you very much Roy.
|
|
|
|
Rank: Newbie
Groups: Registered Users, Subscribers Joined: 3/31/2017(UTC) Posts: 2
|
Originally Posted by: sisenberg 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.