Announcement

Collapse
No announcement yet.

Break out intraday

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Break out intraday

    Hello,

    I've a problem with this function and I need help from a person who know to develop in EFS...
    I haven't the knowledge for this, so I thank you the person who can help me.
    It's just to translate the line below in an EFS code. A friend told me that would be easy... but I can't make the translation.

    Title : Break out intraday

    REM Cloture de la seconde barre (indice 1)
    IF INTRADAYBARINDEX = 1 THEN

    plusHaut = HIGHEST[2](HIGH)
    plusBas = LOWEST[2](LOW)

    ENDIF


    REM Achat / Vente sur cassure entre la 3e barre et 16:00:00 (heure locale)
    IF INTRADAYBARINDEX > 1 AND TIME < 160000 THEN

    REM Cassure de résistance
    IF CLOSE > plusHaut THEN
    BUY 70%CAPITAL AT MARKET
    SELL AT MARKET TODAYONCLOSE

    REM Cassure de support
    ELSIF CLOSE < plusBas THEN
    SELLSHORT 70%CAPITAL AT MARKET
    EXITSHORT AT MARKET TODAYONCLOSE
    ENDIF

    ENDIF

    Thank you again,
    Seb

  • #2
    I can help you convert this to EFS, but the problem is the 70% capital controls. EFS does not provide for "equity management" in this sense. I can create an equity control for you, but unless this is tied to a live account, it's usless.

    Let me know what you want to do and if you want me to convert this for you?

    B
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment

    Working...
    X