Average crosses

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #101923 quote
    marcara
    Participant
    Average

    Hi,

    I am triyng to program an Screener for:

    Hull average  10 periods  crosses over or crosses under Simple moving average 15 periods shifted 2 periods to the right.

    It does not five any error but It is not working.

    Thanks in advance for your help

    SMA15 = Average[15,0](close)
    HMA10 = Average[10,7](close)
    
    UPb = (HMA10[1] crosses over SMA15[3]) 
    DNb = (HMA10[1] crosses under SMA15[3]) 
     
    
    SCREENER[UPb or DNb]
    #101927 quote
    robertogozzi
    Moderator
    Master

    Line 2 should enter MA type 0-6. Despite documentation says also typre 7 and 8 are supported, well… they aren’t, yet!

    If you search HULL you’ll find other topics about this issue and you’ll be able to find the full HULL code so that you can write it your own, instead of using the native one (since it’s not native, yet).

    marcara thanked this post
    #101931 quote
    marcara
    Participant
    Average

    Thanks ROberto,

    Now It is working Many thanks

    The Hull code is

    Period=16
    inner = 2*weightedaverage[ round( Period/2 ) ](close)-weightedaverage[Period](close)
     
    MMHULL=weightedaverage[ round( sqrt(Period) ) ]( inner )
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Average crosses


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
marcara @marcara Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by marcara
6 years, 8 months ago.

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