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

Notification

Icon
Error

Options
Go to last post Go to first unread
GameTime  
#1 Posted : Saturday, February 12, 2011 12:09:09 PM(UTC)
GameTime

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 1/22/2011(UTC)
Posts: 34

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hi Guys,

I'm wondering if i could please have some help modifying the Following StockRSI Exploration so a Buy Signal Last 3 days not Just 1. I've tried to work it out myself, and i think i need to use the formula BarsSince, but i don't know where it goes or how to use it.

The following is the Exploration unmodified:



a:=Cross(20,(Sum(RSI(10)-LLV(RSI(10),10),3)/Sum(HHV(RSI(10),10)-LLV(RSI(10),10),3))*100);
b:=Cross((Sum(RSI(10)-LLV(RSI(10),10),3)/Sum(HHV(RSI(10),10)-LLV(RSI(10),10),3))*100,80);

state:=If(BarsSince(a)<BarsSince(b),1,0);

state=1
wabbit  
#2 Posted : Saturday, February 12, 2011 2:33:12 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Alert() wabbit [:D]
GameTime  
#3 Posted : Saturday, February 12, 2011 10:08:43 PM(UTC)
GameTime

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 1/22/2011(UTC)
Posts: 34

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hi Wabbit, how do i use that alert formula? can you show me an example with my exploration i posted above. Thanks so much. Your help is greatly appreciated.
GameTime  
#4 Posted : Monday, February 14, 2011 3:28:40 AM(UTC)
GameTime

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 1/22/2011(UTC)
Posts: 34

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Does anyone know the answer, or can be of some assistance, id greatly appreciate it.
wabbit  
#5 Posted : Monday, February 14, 2011 4:06:55 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Read through the MS User Manual and work through the exercises in the free Equis Formula Primer, then you'll be able to answer your own question on how and when to use the Alert() and/or BarsSince() functions. You will also have the knowledge then to work out how you are going to deal with some of the collisions you are going to have if you extend both of the Cross() events by a number of bars.


wabbit [:D]

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.