Trading system Mini dax Timeframe 5 min
Forums › ProRealTime English forum › ProOrder support › Trading system Mini dax Timeframe 5 min
- This topic has 4 replies, 4 voices, and was last updated 8 years ago by stevesteve.
-
-
08/24/2016 at 10:39 AM #12157
A request that was addressed to ProRealTime:
– Underlying: DAX Mini Future
– Time: 5 minute candle
– CLOSE: closing price of the 5-minute-candle
– HIGH: highest price 8:00:00 to 8:59:59 PM
– LOW: lowest price 8:00:00 to 8:59:59 PM
– OPEN RANGE: difference between HIGH and LOW
– TRIGGER LONG: HIGH + 10 points
– TRIGGER SHORT: LOW -10 pointsTime filter:
– Time Filter 1: If OPEN RANGE> 30, then earliest entry at 9:05 PM (Open 14th candle)
– Time Filter 2: If OPEN RANGE <= 30, then earliest entry at 9:10 PM (Open 15th candle)
– Time Filter 3: last possible entry at 9:25 pm (Open 18th candle)ENTRY LONG:
– ENTRY LONG: If CLOSE >= TRIGGER LONG, then BUY 5 MINI DAX Market
– Initial Stop Long: If the price falls 25 points below ENTRY LONG, then SELL 5 MINI DAX MarketTarget limits:
– ENTRY LONG + 20 points: SELL 1 Mini DAX + Stop = ENTRY LONG
– ENTRY LONG + 40 points: SELL 1 Mini DAX
– ENTRY LONG + 60 points: SELL 1 Mini DAX
– When at 11:30 contracts are still open, the rest would be closed to OPEN at 11:30 CandleENTRY SHORT:
– ENTRY SHORT: If CLOSE <= TRIGGER SHORT, then SELL 5 MINI DAX Market
– Initial Stop Short: If the price goes up 25 points on ENTRY SHORT, then BUY 5 MINI DAX MarketTarget limits:
– ENTRY SHORT – 20 points: BUY 1 Mini DAX + Stop = ENTRY SHORT
– ENTRY SHORT – 40 points: BUY 1 Mini DAX
– ENTRY SHORT – 60 points: BUY 1 Mini DAX
– When at 11:30 contracts are still open, the rest would be closed to OPEN at 11:30 CandleSuggestion for an anwser:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071defparam flatafter=113000if time =080000 or intradaybarindex=0 thentradethisday=1myhigh=highmylow=lowelsif time <080000 and time <= 090000 thenmyhigh=max(high,myhigh)mylow=min(low,mylow)elseOPENRANGE=myhigh-mylowTRIGGERLONG=myhigh+10*pointsizeTRIGGERSHORT=mylow-10*pointsizeendifif OPENRANGE> 30 thenstarttime=090500elsestarttime=091000endifif barindex=tradeindex thentradethisday=0endifif time >= starttime and time <=092500 and tradethisday thenIf not longonmarket and close > TRIGGERLONG thenbuy 5 shares at marketset stop ploss 25sell 1 share at close+20*pointsize limitsell 1 share at close+40*pointsize limitsell 1 share at close+60*pointsize limitelsif not shortonmarket and close < TRIGGERSHORT thensellshort 5 shares at marketset stop ploss 25exitshort 1 share at close-20*pointsize limitexitshort 1 share at close-40*pointsize limitexitshort 1 share at close-60*pointsize limitendifendifif longonmarket thenif countoflongshares=5 thensell 1 share at tradeprice+20*pointsize limitsell 1 share at tradeprice+40*pointsize limitsell 1 share at tradeprice+60*pointsize limitelsif countoflongshares=4 thensell 1 share at tradeprice(2)+40*pointsize limitsell 1 share at tradeprice(2)+60*pointsize limitsell at tradeprice(2) stopelsif countoflongshares=3 thensell 1 share at tradeprice(3)+60*pointsize limitsell at tradeprice(3) stopelsif countoflongshares=2 thensell at tradeprice(4) stopendifelsif shortonmarket thenif countofshortshares=5 thenexitshort 1 share at tradeprice-20*pointsize limitexitshort 1 share at tradeprice-40*pointsize limitexitshort 1 share at tradeprice-60*pointsize limitelsif countofshortshares=4 thenexitshort 1 share at tradeprice(2)-40*pointsize limitexitshort 1 share at tradeprice(2)-60*pointsize limitexitshort at tradeprice(2) stopelsif countofshortshares=3 thenexitshort 1 share at tradeprice(3)-60*pointsize limitexitshort at tradeprice(3) stopelsif countofshortshares=2 thenexitshort at tradeprice(4) stopendifendif08/24/2016 at 2:01 PM #12162Post hat sich erledigt. sorry…
01/05/2017 at 7:52 PM #19962Hello,
I try this to get it in the automatic trading but i get a error.
ex: SELL 3 SHARES AT MARKET. Ex: SELL AT MARKET EXITSHORT AT 1,5 LIMIT.Do you know what i must do?
Thank you.
Regards Steve
01/05/2017 at 8:04 PM #1996301/05/2017 at 8:15 PM #19966Oke thank you.
Yes i have try id in the automatic trading.
Unfortunate its not working maybe later.Thank you and good evening.
Regards Steve
-
AuthorPosts
Find exclusive trading pro-tools on