Gulliver13
Guest
PROVATELO!! AD 1H
REM ACQUISTO
c3 = MACD[3,21,9] >= 0
c4 = DIplus[44](close) - DIminus[44](close) >= 0
c5 = High - Supertrend[6.45,33] > 0
IF c5 AND c3 and c4 THEN
BUY 100000 share AT MARKET realtime
ENDIF
REM VENDITA
s1 = DIplus[21](close) - DIminus[3](close) <= 0
IF s1 THEN
SELL AT MARKET
ENDIF
REM VENDITA ALLO SCOPERTO
c8 = MACD[3,21,9] <= 0
c9 = DIplus[44](close) - DIminus[44](close) <= 0
C10= LOW - Supertrend[6.45,33] < 0
IF c10 AND c8 and c9 THEN
SELLSHORT 100%CAPITAL AT MARKET realtime
ENDIF
REM COPERTURA SCOPERTO
s2 = DIplus[44](close) - DIminus[44](close) > 1
IF s2 then
EXITSHORT AT MARKET
ENDIF
REM ACQUISTO
c3 = MACD[3,21,9] >= 0
c4 = DIplus[44](close) - DIminus[44](close) >= 0
c5 = High - Supertrend[6.45,33] > 0
IF c5 AND c3 and c4 THEN
BUY 100000 share AT MARKET realtime
ENDIF
REM VENDITA
s1 = DIplus[21](close) - DIminus[3](close) <= 0
IF s1 THEN
SELL AT MARKET
ENDIF
REM VENDITA ALLO SCOPERTO
c8 = MACD[3,21,9] <= 0
c9 = DIplus[44](close) - DIminus[44](close) <= 0
C10= LOW - Supertrend[6.45,33] < 0
IF c10 AND c8 and c9 THEN
SELLSHORT 100%CAPITAL AT MARKET realtime
ENDIF
REM COPERTURA SCOPERTO
s2 = DIplus[44](close) - DIminus[44](close) > 1
IF s2 then
EXITSHORT AT MARKET
ENDIF