in Search

GAP UP, GAP DOWN Explorer? [RESOLVED]

Last post 09-20-2005, 18:25 by investorretired. 6 replies.
Sort Posts: Previous Next
  •  09-20-2005, 5:49 8413

    GAP UP, GAP DOWN Explorer? [RESOLVED]

    Does anyone have a formula or any information on an explorer that would search for gap ups, or down within like the last 5 days or something like this?

    Regards,
    Fousc
  •  09-20-2005, 12:46 8423 in reply to 8413

    Re: GAP UP, GAP DOWN Explorer? [RESOLVED]

    ColA: gapup(); {today}
    ColB: ref(gapup(),-1); {yesterday}
    ColC: ref(gapup(),-2); {2 days ago}
    ColD: ref(gapup(),-3); {3 days ago}
    ColE: ref(gapup(),-4); {4 days ago}
    ColF: ref(gapup(),-5); {5 days ago}
    Filter: ColA>0 OR ColB>0 OR ColC>0 OR ColD>0 OR ColE>0 OR ColF>0
    Traders' Consortium
  •  09-20-2005, 13:01 8425 in reply to 8413

    Re: GAP UP, GAP DOWN Explorer? [RESOLVED]

    Another couple of ways:

    --8<---------------------------
    Col A:
    BarsSince(GapUp())

    Filter:
    ColA>0 and ColA<5

    --8<---------------------------
    Filter:
    Alert(GapUp(),5)



    Anyone got anymore?


    wabbit :D
    Please update your thread status:

    FREE Equis Formula Primer : http://forum.equis.com/files/19673/download.aspx
    To post code, *code* your code */code*
    To post links, [URL] URL goes here [/URL]
    For custom MetaStock and DLL programming : http://www.wabbit.com.au
    Contact via SkyPE
  •  09-20-2005, 13:47 8430 in reply to 8413

    Re: GAP UP, GAP DOWN Explorer? [RESOLVED]

    Well Wabbit... I'm ashamed now :oops: ... thanks for the lesson in humility! :P j.k.

    Really, your code rocks! I was trying to come up with something quick... turns out that I failed the test of conciseness. That's what I love about this place.
    Traders' Consortium
  •  09-20-2005, 13:55 8431 in reply to 8413

    Re: GAP UP, GAP DOWN Explorer? [RESOLVED]

    remember: there's more than one way to skin a wabbit!!!

    :LOL:

    wabbit :D
    Please update your thread status:

    FREE Equis Formula Primer : http://forum.equis.com/files/19673/download.aspx
    To post code, *code* your code */code*
    To post links, [URL] URL goes here [/URL]
    For custom MetaStock and DLL programming : http://www.wabbit.com.au
    Contact via SkyPE
  •  09-20-2005, 14:07 8434 in reply to 8413

    Re: GAP UP, GAP DOWN Explorer? [RESOLVED]

    thanks for the help guys!

    -fousc
  •  09-20-2005, 18:25 8448 in reply to 8413

    Re: GAP UP, GAP DOWN Explorer? [RESOLVED]

    fousc

    wabbit solution one looks at the last 6 days. If you want the last 5 days, elimate all reference to ColF

    wabbit solution two looks at the last 4 days. If you want the last 5 days change ColA<5 to ColA<6.

    Great coding by wabbit. Keep up the good work.
View as RSS news feed in XML