Minute timeframe Error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43304 quote
    brucesbruces
    Participant
    Junior

    I have created very simple ProScreener code below to list stocks that have a stochastic above 80 across 3 timeframes – 2, 6 and 18 minutes; and a 50 SMA sloping down in the 18 minute timeframe.  When I run the screener, it says that hours would be more appropriate than minutes and just goes back to the proscreener screen.  It does the same even when I just have one of the timeframes above.  It works fine when the timeframes are 1hour, Daily and Weekly.  What am I doing wrong?

    PRT Code and error details Below

    TIMEFRAME(2Mn)
    sK2=Stochastic[5,2](close)
    TIMEFRAME(6Mn)
    sK6=Stochastic[5,2](close)
    Timeframe (18Mn)
    sK18=Stochastic[5,2](close)
    MA18 = Moving Average (50)
    SMA50Slope18 = ma - ma[1]
    Screener [sK2 > 80 AND sK6 > 80 AND sK18 >80 AND SMA50Slope18 <0]

    Error:

    Syntax Error Line 1, Character 12

    One of the following characters would be more suitable than “Mn” – Hr (A timeframe of Hour)

    #43328 quote
    NicolasNicolas
    Keymaster
    Legend

    In ProScreener, and with the TIMEFRAME keyword, only “usual” timeframes are allowed (the ones from the list in the ProScreener window). That’s why your 2,6 and 18 minutes timeframes are throwing this kind of error.

    #44159 quote
    brucesbruces
    Participant
    Junior

    Thank you for the response.  I changed the code to the “standard” minute timeframes as follows, but still get the same error:

    PRT Code:

    TIMEFRAME(3Mn)
    sK3=Stochastic[5,2](close)
    TIMEFRAME(10Mn)
    sK10=Stochastic[5,2](close)
    Timeframe (30Mn)
    sK30=Stochastic[5,2](close)
    Screener [sK3 > 80 AND sK10 > 80 AND sK30 >80]
    #44162 quote
    brucesbruces
    Participant
    Junior

    Resolved.  Didn’t like “Mn”.  Used “Minutes” with a space between the standard number and the word “Minutes”.  Thank you for assistance.

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Minute timeframe Error


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
bruces @bruces Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by brucesbruces
9 years, 1 month ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 08/17/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...