Percentage Move on Friday – FX

Forums ProRealTime English forum ProScreener support Percentage Move on Friday – FX

Viewing 8 posts - 1 through 8 (of 8 total)
  • #200802

    Hi,

     

    I’m trying to execute a screener to confirm if the price move at between 08:00 and 21:55 is above a certain percentage. The below code is not returning with an error shown in the “If (P1-P2)/P1 > 0.007 then” line.  Screener to be executed on Sundays on certain FX pairs for the Friday move hence 0 to 0 loop.

    Any help is greatly appreciated.

     

    #200808
    JS

    The numbers between “brackets” after Open[…] are not intended for data.

    Hence the error message.

    Open[0] = the last Open

    Open[1] = the previous Open

    Etc.

    If you want to use times, you can do it this way:

    If OpenTime >= 080000 and OpenTime <= 215500 then

    Or

    If OpenTime = 080000 then

    xOpen080000 = Open

    ElsIf OpenTime = 215500 then

    xOpen215500 = Open

    EndIf

    Percentage: (%)

    (xOpen215500 – xOpen080000) / xOpen08000 * 100

    If ((xOpen215500 – xOpen080000) / xOpen08000 * 100) > 0.7 then

    C1

    EndIf

    1 user thanked author for this post.
    #200859

     

    Thanks you kindly JS.

    #200873

     

    The below code should be returning results on the daily candle for my FX pairs list but no joy, am I missing something

     

    If OpenTime = 080000 then

    xOpen080000 = Open

    ElsIf OpenTime = 215500 then

    xOpen215500 = Open

    EndIf

     

    If ((xOpen080000 – xOpen215500) / xOpen080000) > 0.007 then

    C1 = 1

     

    EndIf

    SCREENER [C1]

    #200875

    On a Daily candle there’s no intraday time, it starts at a fixed time and ends at a fixed time.

    There must be a candle opening/closing at anyone of the chosen times.

     

    #200909
    JS

    Hi @Philey

    Try it with this screener…

    The screener calculates the “Move” of the selection on the last Friday

    The “Move” must take place between 08:00 and 22:00 on Friday.

    When this “Move” is greater than 0.007 then the signal = 1

    You should not use this screener on Friday before 22:00 otherwise it will work with the wrong values (before 22:00 it will use a value from the previous Friday)

    You must set the “Period” in your screener to 1 hour otherwise the times cannot be read.

     

    #201935

     

    The below screener is working perfectly however I need to add a few additional conditions namely RSI and bollinger band levels on the daily chart. Given that the below code works only in the 1hr candles is there anyway I can incorporate the RSI and bollinger band daily values in the same screener?

     

     

    #201991

    The below is my current take on the issue . . .

    Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login