Scaling into positions
Forums › ProRealTime English forum › ProOrder support › Scaling into positions
- This topic has 28 replies, 1 voice, and was last updated 3 years ago by
cdc.andersson.
-
-
06/15/2018 at 10:40 AM #73305
Is there a way I can buy say 50 lots and then buy another 50 lots once price has moved say 30 pips in my favor? If so what would the code be?
So to summarise I am trying to develop code that will have me enter a position if condition x y z are met. Then when the position has moved say 30 pips in my favor I want to place another trade.
06/15/2018 at 10:51 AM #73309123456789DEFPARAM CumulateOrders = trueIF not OnMarket and (your conditions) thenBuy 50 contract at marketENDIFIF OnMarket and close > PositionPrice + (30 * PipSize) thenBuy 50 contract at marketENDIFThis is a ProOrder Support question rather than a general trading question so I have moved it to the correct forum.
06/15/2018 at 10:55 AM #7331006/15/2018 at 11:08 AM #73312It will just keep buying every 30 pips above positionprice so you will need something different if you just want to have one extra market entry after your first.
1234567891011DEFPARAM CumulateOrders = trueIF not OnMarket and (your conditions) thenBuy 50 contract at marketFlag = 0ENDIFIF OnMarket and Flag = 0 and close > PositionPrice + (30 * PipSize) thenBuy 50 contract at marketFlag = 1ENDIF06/15/2018 at 11:23 AM #7331306/15/2018 at 12:07 PM #7332106/15/2018 at 2:21 PM #7335006/15/2018 at 3:07 PM #73362I’ve got an idea … only buy @ 1 Lot?
This is a very good point. Get good at winning with level stakes. Do not cloud things with money management and scaling in and scaling out. Work out the basics first, learn to code what you actually want to happen, keep it simple and test test test. Then once you have some working ideas consider money management and other ways to improve your ideas. Before then just forget about them.
06/16/2018 at 1:45 AM #7339306/16/2018 at 7:07 AM #73395I’m sorry I missed the part where I asked for your judgment.
It might be helpful if you quote the post where you feel someone is judging you as I personally cannot read any judgement in any of the previous posts. All I see is helpful and useful advice from people who have been playing this game for quite a while now that you might be wise to pay attention to along with the code that you asked someone else to provide for you.
There is a lot of experience on these forums that people are willing to share to assist others in both advice and code and sometimes even if you do not agree with the advice that is being offered it is best just to try it out and see how you get on. 99.9% of the time someone else’s experience can save you a whole load of wasted time and get you to where you want to be on the trading road much faster.
Try not to mistake help for judgement would be my latest bit of advice! 🙂
06/16/2018 at 8:17 AM #73404I agree lots of experience here. Which is way due to the feedback I have decided to cut my risk.
I am now risking 1% instead of 2% and to scale into position. 1st trade with .5% risk and 2nd trade once proven with another .5%. I didnt think I had to explain why but that seems to be the case. My logic is that at least 40% of trades I have found in my back testing dont really go anywhere and result in losses, so why put 2% risk for nothing – ie cut my losses. Then I thought most of my positions once they get going typically reach their TP, which is why I thought if I can cut my losses early and buy more when in my favour that this is the best system for me to have.
I will brake it down. I typically do a 3:1 risk $500 (2% capital risk) to make $1500 per trade and was getting killed, so I decided to risk $250 to make $750 and I will trail to b/even and then buy another lot risking $250 to make $500 at 2:1.
So if we analyse this strategy it gives me the following:
max loss is $250
break even is NIL
max profit is $1250
that is 5 to 1 which in my logic is bloody great. I only need to profit 17% circa to break even and seem to be able to profit 40% circa.
I thought it was quite clever doing this and am excited to back test once i can figure out the code, which as you have put it where I can use the knowledge and education of the members here.
Can I pls get assistance with the code to scale into a position and how to write the code?
06/16/2018 at 9:45 AM #73409You are not changing your risk at all. When you decide to enter the market you have more chance of being wrong than right by a long way due to your 3:1 reward to risk ratio. This risk never changes. You have to achieve this 3 to 1 goal first. Then once you have this instead of taking your massive 3:1 profit and being happy that you achieved it you are leaving it on the table with the chance of losing it all if the market just happens to go back exactly the same distance that it has just moved (in fact less because of spread). To achieve a 5:1 gain with first of all a 3:1 goal and then a 2:3 goal is going to be a tough ask of most trades.
Type ‘Breakeven’ or ‘Trailing Stop’ in the search box as there is code on the site that already does what you want to do I am sure. Also check out GraHal’s snippet library for links to code.
06/16/2018 at 9:54 AM #73413My first trade will be 3 to 1. Lets say risking 50 pipsto make 150 pips. Once the trade has moved 50 pips I trail this trade to break even and enter another trade at 2 to 1 so risking 50 pips to make 100. Both trades exit at the same price. One makes 150 pips and the other 100. In total risking 50 pips or $250 to make $1250. Am I looking as this wrongly? Should I be considering a top at 2 to 1?
I was talking to someone on this forum and they said they listened to a podcast that said a 2 to 1 strategy does and will not work in the long run.
06/16/2018 at 10:19 AM #73415You have to think of risk to reward as pure probability. Ignoring spread which reduces your probability of being right. If you set a target a distance of 1 away and a stop a distance of 1 away then you have 50% chance of being right and 50% chance of being wrong. Ignoring spread you will come out break even. Move the goal posts to target of 3 and a risk of 1 and you have only 33% chance of being right but you will win 3 times as much as you will lose – hang on that is break even again.
So with your idea you achieve your first target which is 1:1 at 50 pips and then move to break even. Why not stop there as you have achieved your target and then just keep trying to achieve that target over and over again with the money you have just won? Instead you now decide to set yourself a tougher goal and risk your hard won 50 pips (you imagine it to be free money but it is now your money) to try to achieve an even more difficult target – one that you will more likely lose than win…. and then at this point you decide to throw more risk on the table by increasing your stake. Just because you were right with the first trade does not increase your probability of being right with the second trade.
You have to view each trade as a separate trade.
06/16/2018 at 10:26 AM #73416Ok so if I use your analogy I will be a 1 to 1 trader. I need to make more than 50% wins to make money. I am sure you are making a valid point but it doesn’t seem logical to me.
Pls explain to me how your strategy works? Do you trade to profit what you are prepared to risk every trade? That to me seems like a loss maker at 1 to 1 UNLESS you have a win rate far exceeding 50%
-
AuthorPosts
Find exclusive trading pro-tools on