Begrijp wat je bedoeld met dclose etc.Deze o.a was het leukste script van alle.Kijk maar wat je ermee kunt doen en bedankt alvast.Dan kan ik iets van je leren dat wat mijn doel eigenlijk is.Begrijp wel een beetje wat er staat helaas lang niet alles?
C1=((DClose(1)-DLow(1)) / (DHigh(1) -DLow(1))) <= .5
C2=((DClose(0)-DLow(0)) / (DHigh(0) -DLow(0))) >= .5
C3=Hour > 12
if C1 and C2 and C3 and Not LongOnMarket then
Buy 5000 Shares AT Market NextBarOpen
endif
if LongOnMarket and BarIndex = EntryIndex+ 75 then
Sell AT Market
endif
C3=((DClose(1)-DLow(1)) / (DHigh(1) -DLow(1))) >= .5
C4=((DClose(0)-DLow(0)) / (DHigh(0) -DLow(0))) <= .5
C5=Hour > 12
if C3 and C4 and C5 and Not ShortOnMarket then
SellShort 5000 Shares AT Market NextBarOpen
endif
if ShortOnMarket and BarIndex = EntryIndex + 46 then
ExitShort AT Market
endif
========================
Weer later is er dit van gemaakt?
C1=((DClose(1)-DLow(1)) / (DHigh(1) -DLow(1))) <= .5
C2=((DClose(0)-DLow(0)) / (DHigh(0) -DLow(0))) >= .5
C3=Hour > 12
if C1 and C2 and C3 and Not LongOnMarket then
Buy 1000 shares AT Market nextbaropen
endif
if LongOnMarket and BarIndex = EntryIndex+ 75 then
Sell AT Market
endif
C3=((DClose(1)-DLow(1)) / (DHigh(1) -DLow(1))) >= .5
C4=((DClose(0)-DLow(0)) / (DHigh(0) -DLow(0))) <= .5
C5=Hour > 12
if C3 and C4 and C5 and Not ShortOnMarket then
SellShort 1000 shares AT Market nextbaropen
endif
if ShortOnMarket and BarIndex = EntryIndex + 46 then
ExitShort AT Market
endif
rem ignored, ignored, indicator4 = CALL amos[21, 3.03]
Indicator4=Supertrend[3.03,21]
indicator5 = close
c2 = (indicator4 crosses under indicator5)
KwartVandePos=CountOfPosition/4
IF c2 THEN
exitshort KwartVandePos shares AT MARKET THISBARONCLOSE
ENDIF
rem ignored, ignored, indicator6 = CALL amos[21, 3.03]
Indicator6=Supertrend[3.03,21]
indicator7 = close
c1 = (indicator6 crosses over indicator7)
IF c1 THEN
sell AT MARKET THISBARONCLOSE
ENDIF