high barra 17.30

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #139245 quote
    romanelli4romanelli4
    Participant
    Average

    Buonasera,

    avrei bisogno di codificare la seguente condizione:

    tf 15 minuti.

    IF high delle 17.45  > high delle 17.30 then

    da quel momento e per le barre successive si possono attivare le mie condizioni……

     

    in più deve fare una operazione soltanto.

    aiuto Grazie mille

    max

    #139250 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Provalo :

    Once TradeON = 1
    Once Cond    = 0
    If IntraDayBarIndex = 0 then
       Once TradeON = 1
       Cond         = 0
    Endif
    If OpenTime = 173000 then
       If High < high[1] then
          Cond = 1
       Endif
    Endif
    If Cond and Not OnMarket and TradeON then
       Buy/Sellshort 1 contract at Market
       TradeON = 0
    Endif
Viewing 2 posts - 1 through 2 (of 2 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

high barra 17.30


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
romanelli4 @romanelli4 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
6 years, 2 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 07/14/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...