Checking the larger timeframe trend in lower timeframe

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #238371 quote
    VarmaRudra
    Participant
    New

    Hi,

    currently i am struggling to write code to verify the trend of a larger time frame with in the lower timeframe pro-screener.

    For example, when all conditions are met at lower time frame for a long setup, lets say 5mins i want to make sure trend is bullish in the higher time frames such as 30 mins, 1 hour and daily.

    Really appreciate any help in this regard

    #238374 quote
    robertogozzi
    Moderator
    Master

    Let’s assume you identify the trend using an SMA200:

    Timeframe(30 minute)
    UPtrend      = close > average[200,0](close)
    //
    TimeFrame(default)  //the TF on your chart (no hgher than 30 minutes)
    MyConditions = ....
    Result       = MyConditions AND UPtrend
    SCREENER[Result]

    you will code line 5 with your conditions.

    Iván González, VarmaRudra and sgrech thanked this post
    #238409 quote
    VarmaRudra
    Participant
    New

    Thank you very much

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

Checking the larger timeframe trend in lower timeframe


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
VarmaRudra @varmarudra Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by VarmaRudra
1 year, 5 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 10/01/2024
Status: Active
Attachments: No files
Logo Logo
Loading...