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)
|
Danny,
Welcome to forum. Keep working through the Equis Formula Primer and re-read (again and again) the Users Manual. Also have a look at the excellent free training videos available at this site, they will help you in yuor endeavours.
Until you have mastered the Ref() function, have a try at this for your indicators:
Morning Star
========
O>=Ref(C,-1) and C>O AND C>Ref(C,-1) and Ref(O,-1)=Ref(C,-1) AND Ref(C,-1)<Ref(C,-2) AND C>Ref(C,-2) AND Ref(C,-2)<Ref(O,-2) AND Ref(C,-2)<Ref(C,-3) AND Stoch(14,3)<=20 AND C>$40
Moring Doji star
==========
Ref(O,-2)>Ref(C,-2) and Ref(O,-1)=Ref(C,-1) AND Ref(C,-1)>Ref(C,-2) AND O<C AND O<Ref(O,-1) AND C>Ref(C,-1) AND Stoch(14,3)<=20 AND C>$40
If I have them slightly wrong, then try to correct them yourself, and post your resultant code.
Hope this helps.
wabbit :D
P.S. You might have to change the Stoch() parameters to suit your needs too!
|