Code for custom trading hours

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #92346 quote
    mjharm
    Participant
    New

    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)
  • You must be logged in to reply to this topic.

Code for custom trading hours


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
mjharm @mjharm Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 02/26/2019
Status: Active
Attachments: No files
Logo Logo
Loading...