Gulliver13
Guest
quersto è per ucg, 15 minmuti...si direbbe che gira...
REM ACQUISTO
c3 = MACD[6,40,6] >= 0
c4 = DIplus[42](close) - DIminus[42](close) >= 0
c5 = High - Supertrend[10,31] > 0
IF c5 AND c3 and c4 THEN
BUY 10000 share AT MARKET realtime
ENDIF
REM VENDITA
s1 = DIplus[40](close) - DIminus[40](close) <= 0
IF s1 THEN
SELL AT MARKET
ENDIF
REM VENDITA ALLO SCOPERTO
c8 = MACD[6,40,6] <= 0
c9 = DIplus[42](close) - DIminus[42](close) <= 0
C10= LOW - Supertrend[10,31] < 0
IF c10 AND c8 and c9 THEN
SELLSHORT 100%CAPITAL AT MARKET realtime
ENDIF
REM COPERTURA SCOPERTO
s2 = DIplus[40](close) - DIminus[40](close) > 0
IF s2 then
EXITSHORT AT MARKET
ENDIF
REM ACQUISTO
c3 = MACD[6,40,6] >= 0
c4 = DIplus[42](close) - DIminus[42](close) >= 0
c5 = High - Supertrend[10,31] > 0
IF c5 AND c3 and c4 THEN
BUY 10000 share AT MARKET realtime
ENDIF
REM VENDITA
s1 = DIplus[40](close) - DIminus[40](close) <= 0
IF s1 THEN
SELL AT MARKET
ENDIF
REM VENDITA ALLO SCOPERTO
c8 = MACD[6,40,6] <= 0
c9 = DIplus[42](close) - DIminus[42](close) <= 0
C10= LOW - Supertrend[10,31] < 0
IF c10 AND c8 and c9 THEN
SELLSHORT 100%CAPITAL AT MARKET realtime
ENDIF
REM COPERTURA SCOPERTO
s2 = DIplus[40](close) - DIminus[40](close) > 0
IF s2 then
EXITSHORT AT MARKET
ENDIF