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

Notification

Icon
Error

Options
Go to last post Go to first unread
Leverage  
#1 Posted : Thursday, January 22, 2015 3:16:33 PM(UTC)
Leverage

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 1/25/2010(UTC)
Posts: 44
Location: Rome, IT

Hi Traders,

I need assistance with a filter code.
If I write:

value:=Mov(RSI(C,3),3,E);

I obtain a 3 period smooth RSI. Now, if I want filtering the rising leg of the indicator, can I write for example:

value:=Mov(RSI(C,3),3,E);
signal:=Mov(value,5,E);
myfilter:=signal>trigger;

but it is too slow. So, I can do it better if I take the lowest point of the indicator writing:

value:=Mov(RSI(C,3),3,E);
signal:=value>Ref(value,-1) AND value<30 AND Ref(value,-1)<Ref(value,-2) {bottom turning point}
signal2:=value<Ref(value,-1) AND value>70 AND Ref(value,-1)>Ref(value,-2) {top turning point}

How can I code in MS all the bars through this two point?

Thanks so much

henry1224  
#2 Posted : Friday, January 23, 2015 1:50:46 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)

I'm not sure what you are trying to accompli[censored]

You have found the RSI indicator, a Moving average indicator, The Ref function  and the greater than symbol.

You have learned how to nest indicators into other indicators

have a look at the cross function, valuewhen function and if functions

An indicator that has a limit of 100 or 0 will continue to only show that limit as long as the security continues to keep making highs or lows in that direction 

google an indicator called Stochastic Pop Steckle!

quick signals do not always show profit

develop a trading plan that has 3 to 4 different types of indicators 

define what is bullish and what is bearish

 

 

 

 

 

Edited by user Friday, January 23, 2015 1:57:15 PM(UTC)  | Reason: Not specified

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.