50 points system, no indikator needed
Forums › ProRealTime English forum › ProOrder support › 50 points system, no indikator needed
- This topic has 3 replies, 2 voices, and was last updated 1 month ago by
f1_maik.
-
-
05/04/2025 at 8:13 PM #246784
Hello dear people, maybe someone can help me, I am not a light in programming, but here is an approach that differs from the usual indicator-driven approach. In some of the forums I frequent, the following approach is used for indices, especially the Dax40.
the system
When the market opens at 08.00 or even 09.00, any trend direction is assumed, purely arbitrary, let’s say long.
For the first trade of the day, the SL and TP are set at 50 points.
If the TP is reached in the 1st trade, the system will not execute any further trades on this day.
If the SL is reached in the 1st trade, a 2nd trade in the opposite direction (short) is started immediately. SL 50 points, TP 100 points.
If the TP is reached in the 2nd trade, the system will not execute any further trades on that day.
If the SL is reached in the 2nd trade, a 3rd and last trade started on this day, again in the opposite direction, i.e. in this case again long. SL 50 points, TP 150 points.
Regardless of whether the SL or TP is reached in the 3rd trade, the system is terminated on this day.The same game is then played the next day with the change that the arbitrary trade direction is the opposite trade direction of the previous day. The 1st trade would therefore be short. The 2nd trade would be long, the 3rd trade would be short again.
On the day after next we start again in the opposite direction of the previous day, with long, on the 4th day then with short, on the 5th day with long and so on.
Trading only takes place Monday to Friday without the addition of Sunday. The overnight risk is initially neglected. Cumulateorders = false. The system only starts once a day and is limited to a maximum of 3 trades and thus 150 points loss.
Can this be programmed with ProRealCode? The main difficulty I see is the exact change after reaching the respective SL.
Here again the SL and TP
sl1 = 50
tp1 = 50sl2 = 50
tp2 = 100sl3 = 50
tp3 = 150When asked why points, I say we can also use percentages. I hold 50 points in the Dax40 at 20,000 points in dax a few days ago, we would be at 0.25%. However, people there have got hooked on the 50 points.
05/05/2025 at 10:22 AM #246800Hi! Here you have an example
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465defparam flatafter = 210000defparam flatbefore = 080000once dirini=1once e=1sl=50tp1=50tp2=100tp3=150if intradaybarindex=0 thendirini=-dirininumtrades=0e=1endifif longonmarket thenbuyprice=tradepricestoploss=tradeprice-sl*pipsizetakeprofit1=tradeprice+tp1*pipsizetakeprofit2=tradeprice+tp2*pipsizetakeprofit3=tradeprice+tp3*pipsizeelsif shortonmarket thenbuyprice=tradepricestoploss=tradeprice+sl*pipsizetakeprofit1=tradeprice-tp1*pipsizetakeprofit2=tradeprice-tp2*pipsizetakeprofit3=tradeprice-tp3*pipsizeendifif not onmarket and dirini=1 and e=1 thenbuy 1 contract at marketelsif not onmarket and dirini=-1 and e=1 thensellshort 1 contract at marketendifif longonmarket and e<=3 thensellshort 1 contract at stoploss stopelsif shortonmarket and e<=3 thenbuy 1 contract at stoploss stopendifif longonmarket and (shortonmarket[1] or not onmarket[1]) thene=e+1elsif shortonmarket and (longonmarket[1] or not onmarket[1] ) thene=e+1endifif e<=2 thentakeprofit=takeprofit1set target pprofit tp1elsif e=3 thentakeprofit=takeprofit2set target pprofit tp2elsif e=4 thentakeprofit=takeprofit3set target pprofit tp3set stop ploss slendifgraphonprice buyprice coloured("blue")graphonprice stoploss coloured("red")graphonprice takeprofit coloured("green")1 user thanked author for this post.
05/05/2025 at 8:25 PM #24682405/11/2025 at 1:38 PM #246971Hello Ivan.
Thanks again for programming the system. I was able to take a look at it today and your program already does a lot of things right!
For example, if the 1st trade ends with a loss, the 2nd trade is started in the opposite direction, it works perfectly!
Also correct is: SL always 50 points and TP staggered TP1 50 points, TP2 points, TP 3 points, works, great!But now to the problem. See screenshot 1
Chart Dax40 M1, Day 10.04.2025 start time 09.00 am
The 1st trade goes into the TP. Fits, works!
But (!!) then the system opens further trades on 10.04.! That’s not supposed to happen! It’s only about 50 points. If a profit of 50 points is made on a day (maybe with the 1st trade), then no more trades are made on that day!If 1.trade goes into winnings, then no more trades on that day. You have your 50 points
If 1st trade goes into loss, then and only then, will a 2nd trade be started on that day, in the opposite direction of course. The 2nd trade has TP 100, of course.If 2nd trade goes into profit, that’s it for the day, then no more trades on that day! You have your 50 points (1×50 loss and 1×100 profit).
If 2nd trade goes into loss, then and only then, is a 3rd trade started. Again in the opposite direction, of course. The 2nd trade has TP 150, of course.If 3rd trade TP is in profit or in loss, it is no longer traded on that day. No (!) 4th trade is started, never! Either you have 3x 50 points loss or summary 1x 50 profit .
But and now here is the problem. On 10.04. he starts more than 3 trades and also or although already the 1st trade ends with 50 points in profit. See screenshot attached.
Can you change that the system
a. stops after 50 points profit on a day (will reached with 1 oder 2 trades) or
b. in case 2 consecutive losses on the same day the system starts only a 3rd, a last trade on that day.On the next day the system should then start from the beginning with the 1st trade, of course.
Can you do that?
lg and gl
-
AuthorPosts
Find exclusive trading pro-tools on