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

Notification

Icon
Error

Options
Go to last post Go to first unread
William  
#1 Posted : Saturday, May 14, 2005 2:50:37 PM(UTC)
William

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/14/2005(UTC)
Posts: 4

I am looking to include a MACD crossover as one of the criteria for a formula. In technicals, often times things happen, not exactly at the same time, but pretty close. So if X happens, the stage is set, then if Y happens - do Z. I tried to do a lookback idea, using references and or statements and that basically overran the other elements of my formula. So, my question is this: How do i write a formula that will look back n periods for one criteria. Ex. Stochastic reading above 80 within the past 5 trading sessions and a MACD sell cross on today's close. Thank you very much for any help provided.
Patrick  
#2 Posted : Saturday, May 14, 2005 3:06:54 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Use the alert function ... Alert(Your condition, back n periods) Patrick
Users browsing this topic
Guest (Hidden)
Similar Topics
Number of Days Dojis appearing over a lookback period of 50 days (Formula Assistance)
by stinkray 2/27/2017 11:28:05 PM(UTC)
Lookback codes for MA (Basic Coding Techniques)
by xumitcap 3/26/2013 5:18:38 AM(UTC)
30 Day lookback on a moving average (Formula Assistance)
by OveLovik 5/7/2011 11:47:12 AM(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.