Combining screener and automated trading

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #245168 quote
    Mr.Crni
    Participant
    New

    hey all.

    does anyone knows about the possibility to combine screening and automated trading (execution) in PRT?
    Would be very interesting and the next big step in PRT in my opinion. Are there any conversions to this.

    #245174 quote
    robertogozzi
    Moderator
    Master

    No, you can only use a screener and execute a strategy like this one, when a signal is returned:

    ONCE TP      = 50
    ONCE SL      = 20
    ONCE LotSize = 1
    ONCE GoLong  = 1  //any other value to go SHORT
    IF (Not OnMarket AND OnMarket[1]) OR (StrategyProfit <> StrategyProfit[1]) THEN
       Quit
    ENDIF
    IF Not OnMarket THEN
       IF GoLOng = 1 THEN
          BUY LotSize CONTRACTS at Market
       ELSE
          SELLSHORT LotSize CONTRACTS at Market
       ENDIF
    ENDIF
    SET TARGET pPROFIT TP
    SET STOP   pLOSS   SL

    after setting your preferred values in the first 4 lines.

    Iván González and Mr.Crni thanked this post
    #247547 quote
    taklause
    Participant
    New

    Hello  Roberto,

    I think what Mr.Crni means is the possibility to have in an algorithm multiple indices.

    nasdaqClose, nasdaqOpen, nasdaqHigh, nasdaqLow = CALL "GetNasdaq"
    dowClose, dowOpen, dowHigh, dowLow = CALL "GetDow"
    daxClose, daxOpen, daxHigh, daxLow = CALL "GetDax"
    
    // Do something with that

    For example to automatically apply metrics to the nasdaq, dax and dow and during combine the information collected to trade another indices or one of the mentionned.

    Regards Daniel

    Mr.Crni thanked this post
    #247557 quote
    robertogozzi
    Moderator
    Master

    No, screeners can deal with multiple instruments (securities, shares) belonging to the same index, using only the EQUITYFRAME instruction (https://www.prorealcode.com/documentation/equityframe/).

    #247559 quote
    robertogozzi
    Moderator
    Master

    I moved this topic to the correct forum from the ProRealTime platform support forum.

    Mr.Crni thanked this post
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Combining screener and automated trading


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Mr.Crni @mr-crni Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by robertogozzi
9 months, 1 week ago.

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