Thanks to all of you. This was very helpful and I learned a lot. I had issues with the way the buffer worked and was able to change the source code to use chart objects instead.
I will probably post a follow-up soon 
Best posts made by Domeonline
-
RE: Custom Indicator - double count at changeposted in Questions & Answers
-
RE: Condition block misses applied to indicator optionposted in Questions & Answers
@sktsec
Yes AI opens up a full new dimension now. Which is amazing!
I would call it a hybrid. Since we can use a light and simple code similar to easy language.
I played also a bit with creating a custom indicator out of it. Chat GPT created the code straight away without even an error. I thought that's pretty impressive!
But like the 80/20 rule to then really find the problem one needs to be a programmer.
For example here. The first Subwindow is what I want. The second is the custom indicator

You see there is a difference in how the MA is plotted. So this was the end for me...
With the custom code step I have more flexibility and now can use different outputs like a line in the indicator or an arrow and if I like it just create a buy / sell order ... pretty easy and straight forward.
This is the current version of the project.
The strategy just uses 2 conditions. Since the BB Stop is working I now just need to add the ATR cross and the signal is already finished...
https://fxdreema.com/shared/ka8BBMMze
Latest posts made by Domeonline
-
RE: Automatic opened positions in "For each position" step - not availableposted in Questions & Answers
@yousef-builder Thanks Yousef! I will close the thread the tool is live and operational.
-
RE: Can i use constants as global variables in mq5posted in Questions & Answers
Excellent! Thanks it works fine now. I even managed to change the global variables with a telegram message.
-
RE: Can i use constants as global variables in mq5posted in Questions & Answers
@sktsec
Amazing!!
Thanks a lot for the tip, that's a game changer!I attached the terminal block to the "on Init" tab. I read somewhere that the files for terminal variables stay only for 30 days. You think I have to redeploy it every month?
-
Can i use constants as global variables in mq5posted in Questions & Answers
Hi All,
is it possible to turn a constant into a global variable?
The reason is that I have an EA attached to a lot of charts.
Changing now an input manually in all instruments takes ages and can lead to human errors.
So my idea is to use a script which updates all in one go.
But the script can't directly use inputs/constants it needs global variables.If there is another route to achieve this I'm also happy to test this...
Thanks!
-
RE: Same EA for multiple symbolsposted in Questions & Answers
correct I use the same bot for different symbols. So far it uses also the same magic numbers. I thought i could be more generic instead of creating a bot per symbol
-
Same EA for multiple symbolsposted in Questions & Answers
Hi All,
I use the same EA across multiple instruments. Sometimes it gets confused if I have multiple open positions and pending orders.I tried to read the symbol first so to make it more specific but it's not working.
My idea was to assign the symbol to a variable and then loop throw the symbols...
Did someone implement something similar?
Thanks!
-
RE: Automatic opened positions in "For each position" step - not availableposted in Questions & Answers
I use lt a lot in my EA and it works perfectly for manually opened trades as well. So I use it in sequence first check the manual and afterwards manual or automatic.
But for additional functionality i need to check automatically only. This drop down option is missing.
Would be great if the admin adds this … -
Automatic opened positions in "For each position" step - not availableposted in Questions & Answers
Hi,
in the For each position block is under group mode maually opened and All available.
Is there a way to search only for automated opened positions?
-
RE: Trademanager for MT5 Mobileposted in Questions & Answers
@VHV-Profit-Masters As i said i use the mt5 mobile app. When I’m trading discretionary on the phone. And the mobile app is in the native version better than the client since you can move lines. If i trade from the client I have third party trade managers doing the same…
-
RE: Trademanager for MT5 Mobileposted in Questions & Answers
@vish No, I use the mobile app to enter trades. An ea created in fxdreema runs on a VPN server which uses the orders and works with them as inputs.
So the app is the order entry and fxdreema is doing the trade management. Position sizing, stop and target adjustment, breakeven, partials … whatever you want.