VendexKBB « Terug naar discussie overzicht

Leviatan

40 Posts, Pagina: 1 2 » | Laatste
[verwijderd]
0
Leviatan opnieuw leven in geblazen.

Eens kijken of ik het OBS kan pimpen tot betere resultaten.

Bijlage:
[verwijderd]
0
Pimping and Pumping up to 51%

-------------------------------> after

indicator1 = AverageTrueRange[14](close)
c1 = (indicator1 >1.3)
c2 = (indicator1 <1.1)

if intradayBarindex = 1 then
up = highest[2](high)
down=lowest[2](low)
endif

if intradaybarindex >0 and Time < 160001 and C1 then
if close > up then
buy 50%capital at market
endif
endif

if intradaybarindex >1 and Time < 160001 and C2 then
if close < down then
sellshort 50%capital at market
endif
endif

IF LONGONMARKET THEN
sell at market todayonclose
endif

IF shortONMARKET THEN
sell at market todayonclose
endif

[verwijderd]
0
Er zit helaas een vervelende fout in BackTestProgramma van ChartNet. Iedere trade wordt aan het einde van dag gesloten. Jammer genoeg is ChartNet soms niet te stoppen c.q. te programmeren aan het einde van de dag zodat er trades doorlopen over meerdere dagen hetgeen niet te bedoeling is.

Versie OBS met 2 bars Reversal:

---------------------------> code begint na deze regel
if intradayBarindex = 1 then
up = highest[1](high)
down=lowest[1](low)
endif

StopLong = 0

if Close < Down then
StopLong =StopLong +1
If Close{1} < down then
StopLong =StopLong+1
endif
endif

StopShort=0

if Close > Up then
StopShort =StopShort +1
If Close{1} > Up then
StopShort =StopShort+1
endif
endif

if intradaybarindex >0 and Time < 160001 then
if close > up then
buy 50%capital at market
endif
endif

if intradaybarindex >1 and Time < 160001 then
if close < down then
sellshort 50%capital at market
endif
endif

IF LONGONMARKET and StopLong = 2 THEN
sell at market
endif

IF shortONMARKET and StopShort = 2 THEN
sell at market todayonclose
endif

IF LONGONMARKET THEN
sell at market todayonclose
endif

IF shortONMARKET THEN
sell at market todayonclose
endif

-------------------------------> einde code

Tom

[verwijderd]
0
Dan maar zo: 2 BarsReversal einde van de dag sluiting.

if intradayBarindex = 1 then
up = highest[1](high)
down=lowest[1](low)
endif

StopLong = 0

if Close < Down then
StopLong =StopLong +1
If Close{1} < down then
StopLong =StopLong+1
endif
endif

StopShort=0

if Close > Up then
StopShort =StopShort +1
If Close{1} > Up then
StopShort =StopShort+1
endif
endif

if intradaybarindex >0 and Time < 160001 then
if close > up then
buy 50%capital at market
endif
endif

if intradaybarindex >1 and Time < 160001 then
if close < down then
sellshort 50%capital at market
endif
endif

IF LONGONMARKET and StopLong = 2 THEN
sell at market
endif

IF shortONMARKET and StopShort = 2 THEN
buy at market todayonclose
endif

IF LONGONMARKET THEN
sell at market todayonclose
endif

IF shortONMARKET THEN
buy at market todayonclose
endif

[verwijderd]
0
Final Cut Pimping OBS to PingPing
Indien een Openings positie wordt gesloten tijdens de dag worden er geen trades meer gedaan. Meestal komt dit voor in een zijwaartse markt.First hit is Sit Down.

------------------------------------>

if intradayBarindex = 1 then
up = highest[1](high)
down=lowest[1](low)
Marker =0
endif

ParSarLow= lowest[5](low)
StopLong = 0

if Close < Down then
StopLong =StopLong +1
If Close{1} < down then
StopLong =StopLong+1
endif
endif

StopShort=0

if Close > Up then
StopShort =StopShort +1
If Close{1} > Up then
StopShort =StopShort+1
endif
endif

if intradaybarindex >0 and Time < 160001 and Marker < 1 then
if close > up then
buy 50%capital at market
endif
endif

if intradaybarindex >1 and Time < 160001 and Marker < 1 then
if close < down then
sellshort 50%capital at market
endif
endif

IF LONGONMARKET and Close < Up THEN
sell at market
Marker=1
endif

IF LONGONMARKET and Close < ParSarLow THEN
sell at market
Marker =1
endif

IF LONGONMARKET and StopLong = 2 THEN
sell at market
Marker =1
endif

rem ------------------------------------------------------------------------------------->

IF shortONMARKET and Close > Down THEN
sell at market
Marker =1
endif

IF shortONMARKET and StopShort = 2 THEN
buy at market todayonclose
Marker =1
endif

IF LONGONMARKET THEN
sell at market todayonclose
Marker =1
endif

IF shortONMARKET THEN
buy at market todayonclose
Marker =1
endif

[verwijderd]
0
Ok Willem wel even nalopen en opnieuw berekenen nooit zo maar iets aannemen.
Heb wel een melding gedaan bij ChartNet over die verschillen als je de prof versie gebruikt krijg je andere resultaten dan met de Lite versie. Ook als je datums gelijk houd.

[verwijderd]
1
Willem,

Zitten nogal wat fouten in de codering die ik heb doorgegeven bij deze de gecorrigeerde. Zijn niet echt fouten maar coderingen stonden op de verkeerde plaats. Zag grote verschillen tussen de ChartNet versie en de MetaStock versie. Met deze versie loopt MetaStock gelijk met de ChartNet variant dus kunnen we aannemen dat het nu goed is.

if intradayBarindex = 1 then
up = highest[1](high)
down=lowest[1](low)
Marker =0
endif

StopLong = 0

if Close < Down then
StopLong =StopLong +1
If Close{1} < down then
StopLong =StopLong+1
endif
endif

StopShort=0

if Close > Up then
StopShort =StopShort +1
If Close{1} > Up then
StopShort =StopShort+1
endif
endif

if intradaybarindex >0 and Time < 160001 and Marker < 1 then
if close > up then
buy 100%capital at market
sell at market todayonclose

IF LONGONMARKET and Close < Down THEN
sell at market
Marker=1
endif

IF LONGONMARKET and StopLong = 2 THEN
sell at market
Marker =1
endif

IF LONGONMARKET THEN
sell at market todayonclose
Marker =1
endif

endif
endif

if intradaybarindex >1 and Time < 160001 and Marker < 1 then
if close < down then
sellshort 100%capital at market
buy at market todayonclose
Marker = 1
IF ShortONMARKET and High > Up then
buy at market
Marker =1
endif

IF ShortONMARKET and Close > Up THEN
buy at market
Marker =1
endif

IF ShortONMARKET and StopShort = 2 THEN
buy at market todayonclose
Marker =1
endif


IF ShortONMARKET THEN
buy at market todayonclose
Marker =1
endif
endif
endif

[verwijderd]
0
Let er op dat je de periode op 14 februari zet.

Verder valt op dat als een mutsenwisseling is er vaak een PPD is.

Bijlage:
[verwijderd]
0
Zou verder de posities buiten de openingsrange in de gaten houden erboven eronder is gewoon sluiten.
Verder heb ik een methode ingebouwd dat als een openingstrade is gesloten er geen trades meer plaatsvinden je zou deze kunnen uitschakelen.
Bouw later wel de stukjes er aan de groen en de rode mutsen.

Week 08: Grafiek
Bijlage:
[verwijderd]
0
Heb die OBS in 2 schermen gesplitst tot het moment dat ChartNet met een andere oplossing komt. Scherm Long en Scherm Short. Dit is scherm Short

C1=Time < 160001
C2 =Close< WilderAverage[58](close)

if intradayBarindex =1 then
up = highest[2](high)
down=lowest[2](low)
endif

StopShort=0

if Close > Up then
StopShort =StopShort +1
If Close[1] > Up then
StopShort =StopShort+1
endif
endif

if intradaybarindex >1 and C1 and C2 then
if close < down then
sellshort 100%capital at market
buy at market todayonclose
endif
endif

IF ShortONMARKET and StopShort = 2 then
buy at market
endif

IF ShortONMARKET and Close > Up THEN
buy at market
endif

Bijlage:
[verwijderd]
0
Dit is scherm 2 Long gedeelte 2 schermen openen en veilig stellen als Template.
Weet niet of je kan zeggen dat 19% + 38%= 57%
is

C1=Time < 160001
C2 =Close> WilderAverage[58](close)

if intradayBarindex =1 then
up = highest[2](high)
down=lowest[2](low)
endif

StopLong = 0

if Close < Down then
StopLong =StopLong +1
If Close[1] < down then
StopLong =StopLong+1
endif
endif

if intradaybarindex >0 and C1 and C2 then
if close > up then
buy 100%capital at market
sell at market todayonclose
endif
endif

IF LONGONMARKET and StopLong = 2 THEN
sell at market
endif

IF LONGONMARKET and Close < Down THEN
sell at market
endif

Bijlage:
[verwijderd]
0
Nu de telmethode van Bressert op de OBS gezet winst schiet gelijk omhoog was een geniale ingeving van je Willem.

Tom
40 Posts, Pagina: 1 2 » | Laatste
Aantal posts per pagina:  20 50 100 | Omhoog ↑

Meedoen aan de discussie?

Word nu gratis lid of log in met uw e-mailadres en wachtwoord.

Direct naar Forum

Markt vandaag

 AEX
946,58  0,00  0,00%  13 feb
 Germany40^ 22.522,60 -0,40%
 BEL 20 4.432,88 0,00%
 Europe50^ 5.487,80 -0,23%
 US30^ 44.790,90 +0,18%
 Nasd100^ 22.079,40 +0,27%
 US500^ 6.124,76 +0,16%
 Japan225^ 39.216,10 -0,69%
 Gold spot 2.933,27 +0,07%
 EUR/USD 1,0470 +0,03%
 WTI 71,45 +0,34%
#/^ Index indications calculated real time, zie disclaimer

Stijgers

AALBERTS NV 0,00%
ABN AMRO BANK... 0,00%
Accsys 0,00%
ACOMO 0,00%
ADYEN NV 0,00%

Dalers

AALBERTS NV 0,00%
ABN AMRO BANK... 0,00%
Accsys 0,00%
ACOMO 0,00%
ADYEN NV 0,00%

EU stocks, real time, by Cboe Europe Ltd.; Other, Euronext & US stocks by NYSE & Cboe BZX Exchange, 15 min. delayed
#/^ Index indications calculated real time, zie disclaimer, streaming powered by: Infront