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
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
Comment