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

Notification

Icon
Error

Options
Go to last post Go to first unread
Mejeur  
#1 Posted : Friday, April 17, 2020 2:28:37 PM(UTC)
Mejeur

Rank: Newbie

Groups: Registered, Registered Users
Joined: 2/9/2007(UTC)
Posts: 2

I know that this is going to be very simple for some of you but not for me lol. What I am looking for is to add the stochastic momentum index to the trend analysis group. Where it searches, tests, and puts a signal on the chart with the advisor as the macd does.
MS Support  
#2 Posted : Friday, April 17, 2020 3:12:42 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,632

Thanks: 52 times
Was thanked: 131 time(s) in 127 post(s)

Originally Posted by: Mejeur Go to Quoted Post
I know that this is going to be very simple for some of you but not for me lol. What I am looking for is to add the stochastic momentum index to the trend analysis group. Where it searches, tests, and puts a signal on the chart with the advisor as the macd does.

Hi,

I recommend always making a Copy of the original formulas in this case. Basically though you will have to Copy and then Edit each Expert and System Test.

Additionally, there are a few different methods to generate signals for the Stochastic Momentum Index, such as crossing overbought/oversold levels, crossing through its signal line, as a divergence indicator, etc. An example using a SMIBuy signal crossing below -40 is given below:

Code:
SMIBuy:=Cross(-40,StochMomentum(5,3,3));
SMIBuy

The above code can be easily added to the Symbols tab when Editing the Expert by clicking New and setting the relevant symbol details (graphic/label/etc).

Within the System Tester you can Edit your copy of the System Test, and add:

Code:
SMIBuy:=Cross(-40,StochMomentum(5,3,3));

just above the last line for the Buy Order and Buy to Cover Order tabs. Then you want to modify the last line to include SMIBuy:

Code:
AroonBuy or DrctnlIndicatorBuy or MACDBuy or SMIBuy

Mejeur  
#3 Posted : Friday, April 17, 2020 4:59:02 PM(UTC)
Mejeur

Rank: Newbie

Groups: Registered, Registered Users
Joined: 2/9/2007(UTC)
Posts: 2

I am looking for the signal to be generated on the crossover of the signal line. Sorry for not explaining it better in the first message
MS Support  
#4 Posted : Friday, April 17, 2020 8:30:32 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,632

Thanks: 52 times
Was thanked: 131 time(s) in 127 post(s)

Originally Posted by: Mejeur Go to Quoted Post
I am looking for the signal to be generated on the crossover of the signal line. Sorry for not explaining it better in the first message

Code:
SMIBuy:=Cross(StochMomentum(5,3,3),Mov(StochMomentum(5,3,3),3,S));
SMIBuy

Users browsing this topic
Similar Topics
Stochastic Momentum Index - Anne-Marie Baiynd (Basic Coding Techniques)
by billtrudeau 4/10/2015 7:19:53 PM(UTC)
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.