Code for custom trading hours

Forums ProRealTime English forum ProScreener support Code for custom trading hours

Viewing 1 post (of 1 total)
  • #92346

    Hi Nicolas and others,

    I received a code written for pro-screener from Nicolas which I have been using to scan the ASX on a weekly basis – shown below:

    v=volume
    closeaboveMA = C>exponentialaverage[60]
    closeHHV = C>highest[25](high)[1]
    increasevolume = V>1.25*exponentialaverage[12](v)
    liquidity = average[30](c*v) > 1000000
    signalongreen = C>open
    nopenny = C >0.20
    noexpensivestocks= C<10

    test= closeaboveMA AND closeHHV AND increasevolume AND liquidity AND signalongreen AND nopenny AND noexpensivestocks

    screener[test]

    This code works wonderfully well except that some of the stocks presented have a red candle not a green candle as the code states.

    I have spoken with IG support who mentioned that I might need to write into the code custom trading hours for Australia.

    All other criteria of the code is met. I have been running the code at the end of the week- e.g. on a  Sunday – so I assume the end of day data for the week would be populated within IG pro screener.

    So if anyone has any ideas as to why this is happening your help would be invaluable.

    Kind regards

    mjharm

     

Viewing 1 post (of 1 total)

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