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.
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Originally Posted by: Mejeur 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
|
|
|
|
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
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Originally Posted by: Mejeur 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 |
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.