What is your best Forex strategie ?
Forums › ProRealTime English forum › General trading discussions › What is your best Forex strategie ?
- This topic has 35 replies, 7 voices, and was last updated 1 year ago by Meta Signals Pro.
-
-
03/23/2023 at 5:31 PM #21200003/23/2023 at 6:06 PM #212001
2- End of Day” forex trading strategy for USD/JPY – Link / Losing strategy
I have a question on this strategy, is it possible to Long and Short in the same time on ProOrder ?, because in the documentation I saw it’s not possible but they long and short in the same time in this code, line 32 and 33 :
123456789101112131415161718192021222324252627282930313233343536373839404142434445// USD/JPY de préférence// H1Defparam cumulateorders = false// Levier (max conseillé : 1.5)LEVIER = 1// Choix du réinvestissement des gains ou nonREINV = 0IF REINV = 0 THENn = 1*levierENDIFIF REINV = 1 THENCapital = 100000 + strategyprofitn = (capital / 100000)*levierIF n <1 THENn = 1 // Taille minimum : 1ENDIFENDIF// Bougie référence 18 à 22HIf time = 220000 THENamplitude = highest[4](high) - lowest[4](low)amplitude = amplitude*0.4ouverture = CloseENDIF// ACHAT & VENTE entre 22H et 23HIF time >= 220000 and time <= 230000 THENBuy n shares at ouverture - amplitude limitSellshort n shares at ouverture + amplitude limitENDIF// STOP & OBJECTIFSET STOP %LOSS 0.6SET TARGET %PROFIT 5// SORTIEIF time = 100000 THENSELL AT MARKETEXITSHORT AT MARKETENDIF03/23/2023 at 6:38 PM #2120093- A “harami” trading strategy code for Daily EUR/USD – Link / Losing strategy
very funny, we call this strategy ? 🤣
03/23/2023 at 7:09 PM #212010Ciao ZeroCafeine,
Thank you very much for this project, it seems useful, especially for someone like me who is new here on the forum.
It could be useful to test these strategies even for forex crosses and on timeframes different from those for which they were created: this way, maybe new and unexpected practical applications could be discovered!!
In any case, thank you for what you will do.
Edo
03/23/2023 at 7:11 PM #212011they long and short in the same time in this code, line 32 and 33 :
No, a Long or a Short would be executed first … depending on ouverture – or + amplitude.
ProOrder does not allow Long and Short at same time. This will be an IG requirement.1 user thanked author for this post.
03/23/2023 at 7:28 PM #212012very funny, we call this strategy ?
If we optimise 3 variables we can get attached … not too bad for free and can be used as a basis for further development / learning?
03/23/2023 at 7:32 PM #212018This is the code from Doctrading. Yes, it works, but of course only in one direction.
1 user thanked author for this post.
03/23/2023 at 7:49 PM #212019Strategies from the Library need time spending on them – optimising. Most Algos are several years old and times have changed since then … due to Covid, the War etc etc.
Markets change weekly in my experience and so – years old – variable values may not work anymore. We need to be thankful that members have shared their Algos, Indicators and Screeners with us all?
03/23/2023 at 7:54 PM #212020I will try to test them all :
This might save you some time Mr DeCaff? I love Coffee also!!! 😉
https://www.prorealcode.com/topic/backtest-of-the-given-strategies-from-the-library-here-eur-us/
https://www.prorealcode.com/topic/backtest-of-the-given-strategies-from-the-library-here-dax40/
03/23/2023 at 10:02 PM #212021Yes it is what I read it is not possible to be long at the same time with ProOrder, but the problem is : if you open a position with a BUY fonction, if you open a position with the BUY function, you should normally close it with the SELL function, but in the documentation it is also well noted that the SELLShort function is like a normal sale if a Long position is opened
So if I say no mistake there is a contradiction with these two functions (Buy and Selshort) :
1234IF time >= 220000 and time <= 230000 THENBuy n shares at ouverture - amplitude limitSellshort n shares at ouverture + amplitude limitENDIF03/23/2023 at 10:20 PM #212022Let me use an example to show how the code works …
if price is at 10 and time is >= 22:00 and time is <= 23:00, we decide …
if price drops to 5 I will buy / go long (and make profit if price then rises after)
if price rises to 15, I will sellshort / go short (and make profit if price falls after).
Above is what the code is saying as conditions.
03/23/2023 at 10:34 PM #212023can show me wich variable you optimise pls, even I don’t like the optimisation on the past, it’s like to ask the software : show me somethink nice and let me dream for the future (even the lockforward, I don’t like to use somehink I don’t totaly trust or undestand) ?
also we can use USD/JPY Mini pls if possible like that we can compare result and work, and why you have in the ordinate price like 13,000 / 15,000, because I have 130 / 150 like 1 USD = 130 JPY, and also wich equity you use for start the backtest pls ?
maybe if we want to talk about one strategy we can open one new thread for it ?for me that is the result with out optimisation on USD/JPY and USD/JPY Mini with 100 000 JPY as start equity with 1,5 pips of spread and the tick by tick mode
you can see with an starting capital of 100 000 JPY on the USD/JPY, the result of equity is negative to -3900 😅
03/23/2023 at 10:37 PM #212027can you show me an exemple when it’s working, maybe I did some mistake ?
03/24/2023 at 12:40 AM #21203103/24/2023 at 1:27 AM #212032Try this version.
https://www.prorealcode.com/prorealtime-trading-strategies/end-of-day-yen-m15/
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on