Can someone please help on this one?
Posts made by BlueMoon
-
Symbol problemposted in Questions & Answers
My broker uses different suffix in all the currency pair symbols.
Examples:
EURUSD = EURUSD.e
GBPJPY = GBPJPY.eMy EAs fail with errors all over the place suggesting that the symbol does not exist. Following is an example of the errors I receive:
Symbol USDJPY does not exists and will be excluded from the list in block #2
I really do not want to change everything in my code to resolve this. I also want my EA to work with any/every broker. Is there any quick and easy way to address this issue?
-
RE: More Columns in Write to File blockposted in Questions & Answers
If it is very complicated on your side...I can manage it on my end. I will just have to create multiple files and figure out a way to merge it all in 1 file manually.
-
More Columns in Write to File blockposted in Questions & Answers
I notice that there are only 10 Columns options in the "Write to File" Block.
How do I get more columns for this? At this point I need 20 columns. -
RE: EA that will trade multiple pairsposted in Questions & Answers
Thank you very much for taking the time to explain. I was also leaning towards just writing the EA for a single pair and just run it multiple times and avoid all the array and variables complications the the EA.
Thanks again.
-
EA that will trade multiple pairsposted in Questions & Answers
When there is an intention to trade an EA on multiple pairs, I noticed that there are 2 ways to do this:
-
You create the EA and just run it on all the charts that you want it tun it with unique magic numbers.
-
You create an EA that will take the input of all pairs you want to trade and just run the EA on 1 chart.
The first way is easy but the 2nd way has many challenges. I wanted to find out if any of you use the 2nd type currently and wanted to get some ideas on how do you manage to separate the variables of each trade or each pair that are going to make trading decisions in the EA? I usually attempt to do that and most of the time I just get lost and confused and it becomes very complex and just end up with Option 1 where I just run it on the pairs I need to run it on.
The problem now that I face is that I want to create an EA that will run for all 28 pairs but also will have like 5 unique trades which will need to have variables assigned to each of these 28*5 trades open at any moment in time and my EA will need to make trading decisions on the values of these variables. So I am all confused on how do I even get started with this design?
Any one experienced in created something similar? I would really appreciate your input and ideas for the same.
-
-
Once per bar but selected barsposted in Questions & Answers
How can I setup a condition of taking trades on Open of new bar on an H1 chart but also be selective in which hours I want to take trades and which hours I don't want to.
Example:
I want the EA to take trades only at the open of 00:00, 02:00, 05:00, 10:00, 22:00, 23:00 bars. -
RE: Custom Script for simple Market Orderposted in Questions & Answers
Thanks. But I know how to do this. I needed a 1 line script for this.
-
RE: Assign Magic number to manually taken tradesposted in Questions & Answers
Thanks for the confirmation. I will just figure out alternate ways to achieve what I need.
I will just create an EA with buttons to "Buy" and "Sell" This will give me the same feel of manually taking my trades but will have a magic number assigned.

Thanks again.
-
Custom Script for simple Market Orderposted in Questions & Answers
What will be Custom Script for the following action.
Buy at Market price 0.01 Lots of EURUSD SL=10pips, TP=20 pips.
-
RE: Assign Magic number to manually taken tradesposted in Questions & Answers
Thanks but this does not help me. Like I mentioned in my post, I am looking to assign a Magic number to some of my manually opened trades and not all. Once magic number assigned to those trades...I can do all my analytics and conditions for that group of trades.
-
Assign Magic number to manually taken tradesposted in Questions & Answers
My strategy requires me to take a bunch of trades manually. Once I take these group of trade I want my EA to watch the P/L of these trades and make decisions. I might also have other trades taken but to me they are not considered part of this group.
So my question is....how can I assign magic number to my existing manually taken trades? This way I can use my EA to make decision based on P/L of only this group of trades.
-
Candle by timeposted in Questions & Answers
I am trying to get the body size of a specific candle by time. This is not getting the correct value of the candle. It is using the current candle instead of the time I have mentioned in the time option. Screenshot below

-
RE: Bucket of Trade Block questionposted in Questions & Answers
Thanks so much for your reply. I was not aware you could write multiple group number by separating with a comma. This really helps me a lot.
But now it raises some new challenges for me and I also have some more questions about the same.
- My Group number are usually a "int" variable. Something like "1000,1002,1003" is not an "int" anymore. Its a "string" This means I will have a create another string variable to assign value by appending multiple groups comma separated. Was wondering if I can save all this trouble and just assign multiple groups in that block without messing with my "int" and "string" variables to be able to do this.
-
Bucket of Trade Block questionposted in Questions & Answers
Is there a way to combine 2 or more bucket of trades into 1 bucket of trades?
-
RE: Help with Custom Indicatorposted in Questions & Answers
so I dared to just change the source code....and I changed from "sinput" to "input" I now see the inputs loading fine in fxdreema once I load my custom indicator.
Now the issue....the custom indicator inside fxdreema is not producing the same value it produces when I run it in MT4.
Why the difference?
-
Help with Custom Indicatorposted in Questions & Answers
So I have a custom indicator that I found useful as a tool to develop my EA.
I added the custom indicator without any issues.
But I noticed when I added the indicator, it did not show me all the 3 inputs.So I opened the source code of the indicator. I noticed that the input in the code were not defined as "input" instead they were defined as "sinput"
Any idea what does this mean? I do not prefer to make changes with the original source code but was wondering how I can use this indicator to develop my EA.
Any help appreciated.
-
RE: Currency Strength based on last Candleposted in Questions & Answers
Thanks for your help. My apologies I was not very clear in what I was asking. So here is it with more clarity. I appreciate any help.
I want to get the body size of Candle(1) of all 28 pairs. Once I get this, I want to use this information to get a value (strength/weakness) for each of the 8 Currency. This value will tell me how strong/weak each of the currency ended up after the close of Candle(1)
-
RE: Use of Group # in these blocksposted in Questions & Answers
After reading more about Group #, I understand this is just an appended Magic number.
My question is still how do I derive the "Magic number" of a specific trade and store it in a variable?
-
Use of Group # in these blocksposted in Questions & Answers
I create a bunch of trades and assign a "Group #" to them. Where is this group number marked for these trades? How can I see what Group # is assigned to them? Is there a value I can pull this and store it in a variable?
I open certain trades in different Currency Pairs. I need to write another script to make decisions on what to do with these trades (trades with certain Group # only) not all open trades since I would have open trades with some other logics and other strategies.