need some insights on my newb system
Forums › ProRealTime English forum › ProOrder support › need some insights on my newb system
- This topic has 23 replies, 6 voices, and was last updated 3 years ago by migelrack.
-
-
03/09/2021 at 1:47 PM #163610
First thing to try is tick the box for Readjust Stops when you launch your system. This will keep your Stoploss within the IG minimum distance, but not sure if it also adjusts for Stop Orders ??
If that doesn’t help then you’d have to post the code.
03/09/2021 at 2:22 PM #16361403/10/2021 at 8:56 AM #163673all my systems are still stopped but for a diffrent reason now : another order is trying to fill that order ( crapy swedish translate)
here is one of my shit systems for omxs30 1 min
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455IF c2 THENSELL AT MARKETENDIF// Stops and targetsSET STOP pLOSS 200SET TARGET pPROFIT 200//%trailing stop functiontrailingPercent = .45stepPercent = .01if onmarket thentrailingstart = tradeprice(1)*(trailingpercent/100) //trailing will start @trailingstart points profittrailingstep = tradeprice(1)*(stepPercent/100) //% step to move the stoplossendif//reset the stoploss valueIF NOT ONMARKET THENnewSL=0ENDIF//manage long positionsIF LONGONMARKET THEN//first move (breakeven)IF newSL=0 AND close-tradeprice(1)>=trailingstart THENnewSL = tradeprice(1)+trailingstepENDIF//next movesIF newSL>0 AND close-newSL>trailingstep THENnewSL = newSL+trailingstepENDIFENDIF//manage short positionsIF SHORTONMARKET THEN//first move (breakeven)IF newSL=0 AND tradeprice(1)-close>=trailingstart THENnewSL = tradeprice(1)-trailingstepENDIF//next movesIF newSL>0 AND newSL-close>trailingstep THENnewSL = newSL-trailingstepENDIFENDIF//stop order to exit the positionsIF newSL>0 THENSELL AT newSL STOPEXITSHORT AT newSL STOPENDIF//************************************************************************also wounder if its possible to make it have a limit to say 10 positions at once. cant realy hold 60+ contracts at a time
03/10/2021 at 9:49 AM #163681another order is trying to fill that order
You must have lots of Systems with the same entry criteria and we cannot open 2 trades on the same instrument in the same direction at the same time of trade opening.
Usually what happens is that the System tries to open again a second later … up to 10 tries then the System is stopped.
03/10/2021 at 9:53 AM #163683have a limit to say 10 positions at once
Use below and you will stop at Position Size = 1 and this will also likely reduce lots of instances of the problem mentioned above.
https://www.prorealcode.com/documentation/cumulateorders/03/10/2021 at 10:00 AM #16368603/10/2021 at 10:26 AM #163689Im my opinion, it is best to develop a profitable System taking 1 trade only as this shows the System true worth?
Then increase position size as you wish.
Assuming you are testing on Demo, would you have the funds to support an eventual LIVE multi-position size System anyway? Or if you do have the funds, would you sleep at night with the risk of multi-position drawdown / Account blow-up??
03/10/2021 at 11:00 AM #163697yes i run them in demo currently, i want it to mimic my daytrading so going up and down in size is very important.
yes i have founds to support it but rn one of my system is around 370 contracts per day wich is a little high for me, maby down to 20 per day or something like that
1 user thanked author for this post.
03/12/2021 at 2:22 PM #163935 -
AuthorPosts
Find exclusive trading pro-tools on