Statusmeldung: “Auftragslevel liegt zu nahe am gegenwärtigen Marktlevel
Forums › ProRealTime Deutsch forum › ProOrder Support › Statusmeldung: “Auftragslevel liegt zu nahe am gegenwärtigen Marktlevel
- This topic has 2 replies, 2 voices, and was last updated 2 years ago by akira1988.
-
-
01/20/2022 at 7:23 AM #186004
Hallo,
heute wurde meine Handelsstrategie (DAX) beim ersten Versuch eine Order zu platzieren außerplanmäßig angehalten. In der Order-Liste war zu sehen dass die Ausführung einer Order aus folgendem Grund wiederholt verweigert wurde:
“Das von Ihnen gewünschte Auftragslevel liegt zu nahe am gegenwärtigen Marktlevel. Der Mindestabstand für diesen Markt beträgt 10 Punkte.”
Was bedeutet das und was muss ich tun dass dies nicht nochmal passiert?
Vorab vielen Dank 🙂
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229//-------------------------------------------------------------------------// Hauptcode : # autoTRADE - DAX posSIZE23//-------------------------------------------------------------------------DEFPARAM cumulateorders=false//_______________________________________________________________________posSIZEONCE HiLoPERIOD = 15.0ONCE zeroPERIOD = 15.0ONCE mode = 3.0ONCE triggerDELTA = 25.0ONCE DELTA = 50.0ONCE cashOUT = 125.0ONCE fixSTOPP = 250.0ONCE minSIZE = 1.0once Capital=1850Equity=Capital+strategyprofitposSIZE=max(1,(Equity/Capital)*1)cashSIZE=posSIZE/4//_______________________________________________________________________noENTRYif opentime>=080000 and opentime<=220000 thennoENTRY=0elsenoENTRY=1endif//_______________________________________________________________________Spreadif opentime>=010000 and opentime<080000 thenSPREAD=4elsif opentime>=080000 and opentime<085900 thenSPREAD=2elsif opentime>=090000 and opentime<=173000 thenSPREAD=1.2elsif opentime>173000 and opentime<=220000 thenSPREAD=2elsif opentime>220000 and opentime<010000 thenSPREAD=5endif//_______________________________________________________________________ZEROhiLINE=highest[HiLoPERIOD](close)loLINE=lowest[HiLoPERIOD](close)avgLINE=hiLINE-((hiLINE-loLINE)/2)AVG=average[zeroPERIOD,mode](avgLINE)//______________________________________________hiCROSS=high>=hiLINEloCROSS=low<=loLINE//______________________________________________once ZERO=closehiTRIGGER=ZERO+triggerDELTAloTRIGGER=ZERO-triggerDELTAhiLEVEL=ZERO+1*DELTAloLEVEL=ZERO-1*DELTAif AVG<loTRIGGER thenupTREND=0downTREND=1ZERO=ZERO-(loTRIGGER-AVG)elsif AVG>hiTRIGGER thenupTREND=1downTREND=0ZERO=ZERO+(AVG-hiTRIGGER)endif//_______________________________________________________________________longENTRY / shortENTRYif loCROSS thenlongENTRY=1shortENTRY=0endifif hiCROSS thenlongENTRY=0shortENTRY=1endif//_______________________________________________________________________Entry-Strategyif not onmarket thenif longENTRY thenbuy posSIZE contracts at hiLEVEL stopendifif shortENTRY thensellshort posSIZE contracts at loLEVEL stopendifendif//_______________________________________________________________________Exit-Strategyif not onmarket thensetENTRY=1setSTOPP=1zeroEXIT=0setEXIT=1endifif longonmarket then//___________________________________________Stopp LONGif setENTRY thenENTRY=tradeprice+SPREADsetENTRY=0endifif not setSTOPP thenTRAIL=high-trailLEVELif high>trailLEVEL thentrailSTOPP=trailSTOPP+TRAILtrailLEVEL=highendifendifif not setEXIT or not setSTOPP thensell at trailSTOPP stopendif//___________________________________________Exit LONGif close>(ENTRY+1*cashOUT) thenif close<ZERO thensell at marketendifendifif high>(ENTRY+1*cashOUT) and abs(countofposition)=posSIZE thensell 1*cashSIZE contracts at (ENTRY+1*cashOUT) stopif setEXIT thentrailSTOPP=ENTRY+5setEXIT=0endifendif//_______________________________________________________________________if high>(ENTRY+2*cashOUT) and abs(countofposition)=posSIZE thensell 2*cashSIZE contracts at (ENTRY+2*cashOUT) stopendifif high>(ENTRY+2*cashOUT) and abs(countofposition)=posSIZE*(3/4) thensell 1*cashSIZE contracts at (ENTRY+2*cashOUT) stopendif//_______________________________________________________________________if high>(ENTRY+3*cashOUT) and abs(countofposition)=posSIZE thensell 3*cashSIZE contracts at (ENTRY+3*cashOUT) stopendifif high>(ENTRY+3*cashOUT) and abs(countofposition)=posSIZE*(3/4) thensell 2*cashSIZE contracts at (ENTRY+3*cashOUT) stopendifif high>(ENTRY+3*cashOUT) and abs(countofposition)=posSIZE*(1/2) thensell 1*cashSIZE contracts at (ENTRY+3*cashOUT) stopendif//_______________________________________________________________________if high>(ENTRY+4*cashOUT) thenif setSTOPP thentrailSTOPP=ENTRY+3*cashOUTtrailLEVEL=highsetSTOPP=0endifendifendifif shortonmarket then//________________________________________________Stopp SHORTif setENTRY thenENTRY=tradeprice-SPREADsetENTRY=0endifif not setSTOPP thenTRAIL=trailLEVEL-lowif low<trailLEVEL thentrailSTOPP=trailSTOPP-TRAILtrailLEVEL=lowendifendifif not setEXIT or not setSTOPP thenexitshort at trailSTOPP stopendif//______________________________________________________Exit Shortif close<(ENTRY-1*cashOUT) thenif close>ZERO thenexitshort at marketendifendifif low<(ENTRY-1*cashOUT) and abs(countofposition)=posSIZE thenexitshort 1*cashSIZE contracts at (ENTRY-1*cashOUT) stopif setEXIT thentrailSTOPP=ENTRY+5setEXIT=0endifendif//_______________________________________________________________________if low<(ENTRY-2*cashOUT) and abs(countofposition)=posSIZE thenexitshort 2*cashSIZE contracts at (ENTRY-2*cashOUT) stopendifif low<(ENTRY-2*cashOUT) and abs(countofposition)=posSIZE*(3/4) thenexitshort 1*cashSIZE contracts at (ENTRY-2*cashOUT) stopendif//_______________________________________________________________________if low<(ENTRY-3*cashOUT) and abs(countofposition)=posSIZE thenexitshort 3*cashSIZE contracts at (ENTRY-3*cashOUT) stopendifif low<(ENTRY-3*cashOUT) and abs(countofposition)=posSIZE*(3/4) thenexitshort 2*cashSIZE contracts at (ENTRY-3*cashOUT) stopendifif low<(ENTRY-3*cashOUT) and abs(countofposition)=posSIZE*(1/2) thenexitshort 1*cashSIZE contracts at (ENTRY-3*cashOUT) stopendif//_______________________________________________________________________if low<(ENTRY-4*cashOUT) thenif setSTOPP thentrailSTOPP=ENTRY-3*cashOUTtrailLEVEL=lowsetSTOPP=0endifendifendif//___________________________________________________set stop ploss fixSTOPP01/20/2022 at 11:46 AM #186044Wenn Sie eine ausstehende Order (STOP oder LIMIT) platzieren, stellen Sie sicher, dass zwischen dem aktuellen Preis und dem Preis der ausstehenden Order mindestens N Punkte liegen (wie der Broker gemeldet hat). Im Laufe des Tages kann sich dieser Wert ändern, aber normalerweise sollte er während der üblichen Handelszeiten stabil sein.
01/20/2022 at 11:50 AM #186046 -
AuthorPosts