Trampoline Scan Code

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #180863 quote
    tacharts
    Participant
    New

    I have the following code, but not executing –

    // Trampoline Daily
    TIMEFRAME(weekly)
    c1 = MACD(S,L,Si](close)>0
    TIMEFRAME(daily)
    c2 = (Low) CROSSES UNDER Average[50](Close)
    TIMEFRAME(daily)
    c3 = Average[50](Close)>=Average[50](Close)[1]
    TIMEFRAME(daily)
    c4 = Volume>100000 AND (Close)>2.99
    SCREENER [c1 AND c2 AND c3 AND c4]

    Conditions –

    Macd histogram >0

    day’s low crosses below SMA50

    SMA50 today >= SMA50 yesterday

    Volume > 100,000 AND Close > 2.99

    Appreciate any/all help!!

    Thanks!!

    #180865 quote
    robertogozzi
    Moderator
    Master

    You should have been returned an error because MACD’s opening bracket “[” is mistakingly replaced by “(“.
    It’s now working on my platform, Daily TF, 1K units.

    #180868 quote
    tacharts
    Participant
    New

    Thanks! I made the change, but still received error message –

    (see attachment)

     

    Thanks again!

    error.png error.png
    #180873 quote
    robertogozzi
    Moderator
    Master

    You have to replace variables S,L snd Si with numeric constants or assign them a numeric constant.

    c1 = MACD[12,26,9](close)>0

    this should do.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Trampoline Scan Code


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
tacharts @tacharts Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by robertogozzi
4 years, 4 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 11/03/2021
Status: Active
Attachments: 1 files
Logo Logo
Loading...