@gunterd You should take time to learn the software you are using and use the search function better 
Posts made by uchiha
-
RE: Highs and lows from specific time frameposted in Questions & Answers
-
RE: Compile Error: Constant expectedposted in Questions & Answers
This means you should change your "float" to "double".
-
RE: Loop through bucket of tradesposted in Questions & Answers
@fxDreema Ha. In my mind its so simple, then I begin and it suddenly gets complicated
. You are right. I get confused looking at some old projects of mine. The thing is "I don't know or want to learn MQL, I'm already learning Python, lol". fxdreema has made me lazy 
Thanks for the advice though. I will probably go and learn a bit here and there.
-
RE: Loop through bucket of tradesposted in Questions & Answers
Hello all
I now have a string manipulation problem.
I want to check for a string in another string and either remove or add in order to modify groups numbers for the [Bucket of Trades] block.The code works for single digit numbers, but when it gets to 10 (i.e buy_BE_group_loop = "10") it loads it as two separate strings ("1" then "10") and this causes errors any ideas on how to solve?
See Code used below
if (BG_in_profit == "") BG_in_profit = buy_BE_group_loop; else if(BG_in_profit != "" && (StringFind(BG_in_profit,buy_BE_group_loop,0) != -1)) {BG_in_profit = BG_in_profit;} else if (BG_in_profit != "" && (StringFind(BG_in_profit,buy_BE_group_loop,0) == -1)) {BG_in_profit = BG_in_profit+","+buy_BE_group_loop;}See full fxdreema logic: https://fxdreema.com/shared/JxgWKocKb
-
RE: Loop through bucket of tradesposted in Questions & Answers
@miro1360 problem solved thanks again.
This is my final version, I'm leaving here for posterity and record keeping
https://fxdreema.com/shared/dWdtampfe -
RE: Loop through bucket of tradesposted in Questions & Answers
@miro1360 Thanks for the idea I will take a good look at your example...I am trying to do exactly that, thing is, group numbers will not only be added but also removed depending on the groups profit.
EDIT: Lovely Idea! , one more thing, any idea on how to remove tempStr from groupNRs ?
Example: current tempStr = '1' and groupNRs was = '1,2,3,4' new groupNRs = '2,3,4'
-
RE: Loop through bucket of tradesposted in Questions & Answers
@miro1360 Thanks for that info, but its not what I require, you see, the number of groups is dynamic, it changes according to my entry logic, my group numbers are automatically updated each time just like trades so I cannot use static values (set and forget) .
-
RE: Loop through bucket of tradesposted in Questions & Answers
@fxDreema I have been able to get a work around the two issues, above.
I have another issue:
I have groups which contain buys and sells (the number of groups are dynamic), How can I get the unrealized sums of groups in profit as well as those in loss ? i.e the green and red totals in the picture.
Something similar to the [Bucket of trades] block would be ideal - [Bucket of Groups]?


Since I can get the group number of all profitable groups. I am thinking of converting the group number to a string and then appending it to a new string variable to get all the groups. Then using the string variable in the [Check unrealized profit] block (Group# - parameter) - custom code to do this? I hope it makes sense
Ideally the : variable - buy_groups_profit would be an updating string with all the profitable group numbers
-
Loop through bucket of tradesposted in Questions & Answers
Hello,
I want to loop through any number of groups of trades and check for specific things like :- total buy lots in group
- total sell lots in group
- profit/loss
- number of trades in group etc (see attached)
Two issues:
- How to automatically update the group numbers i.e increasing the no as groups form and reducing it as
groups are closed? - How to loop through all groups and perform these checks on them?
I am aware of the [bucket of trades] block which I can use to get group related parameters, the loop is the main problem - just need a few tips to get my juices flowing again - haven't used fxdreema in a long while


I'm thinking of using a custom code block that appends all the profitable group numbers (for groups in profit) in the text format so I can use in the [check unrealized profit] block
I.E convert the group number to text and append to a string variable, then use the variable in the [check unrealized profit] block (Group # - filter parameter)
-
RE: Little Omission in Price Cross x</x>posted in Bug Reports
I think there is a little omission in the Price Cross Blocks
There is no option to choose which price i.e Bid Price, Ask Price or Mid Price
......
PC.JPG -
RE: Draw A candlestickposted in Questions & Answers
Oh this is just wonderful.
Could you modify it to draw the wicks as lines at the point where the highest and lowest price occurs (see picture) the Red lines
Thanks a bunch
......
lj.JPG -
RE: Draw A candlestickposted in Questions & Answers
Hello
I want to draw candlesticks which start and end at market session Opens (Sydney, Tokyo, London and New-york)
For this I have started with drawing a rectangle, problem is no matter how I try the rectangle does not even draw.
Sydney: The rectangle should be 00H to 03H (baseline/width), the height will change according to price, fill color will depend on the Open - Price relationship.
Any pointers?
-
RE: Suggestion FxDreema designposted in General Discussions
Yes I it will be nice if other people can voice their opinions about it. A Poll maybe?

I meant the Parent 19 Categories could have icons not all :

Lucky for me fxdreema is the first EA builder I've used, I was referring to other softwares like Microsoft Word, AutoCAD, SketchUP ...you name it. They all have the Categories as blocks on top and then you can click for a drop-down menu

I wish you error free rebuilding.

-
RE: Suggestion FxDreema designposted in General Discussions
I noticed you are rebuilding fxdreema from scratch. I want to suggest that you but the Blocks [Variables, Condition, Time Filters, etc] on top instead of by the side like all professional softwares it makes navigation much easier...no need for scrolling and then maybe you can give them ICONS as well.
Great job as always.

-
RE: change the color of a block usingposted in Questions & Answers
Does this mean we can use these types
0xFFFFFF // White
16777215 // White
0x008000 // Green
32768 // Greenin the [Value ===> Numerical] field?
-
RE: change the color of a block usingposted in Questions & Answers
Nevermind a simple custom code block and google did the trick

-
RE: change the color of a block usingposted in Questions & Answers
Hello
I have a "color" variable, I want to change the color of my rectangle box based on certain conditions, I noticed there's no options in the "value" part of the conditions block.
Is there a work around or some custom code I can use.
Things I have tried
- using the Value === Text Option
- using the Value === Text (code input) Option
Both by directly typing the color I want Example: Blue
-
RE: Copying Blocksposted in General Discussions
Hello fxdreema
I have a suggestion I think would be great to implement.
You see when I want to copy blocks from other projects into a new project (reuse old code e.g lot size calculations etc). It doesn't currently copy with its variables. So I have to switch projects checking the variables in one and inserting manually in the other (quite cumbersome).
I think copying blocks would be much more effective if you made them **[copy their variables also] **

Great job as always.
-
RE: MQ4, XML and Cposted in General Discussions
aH I get it now. Too bad.
I only came across Zorro today, it seems like MATLAB for Financial data analysis and EA programming. I know must pro-automated traders subscribe to this type and used them as dll's or api's (whatever those are) with their brokers
I have been trying to dodge learning it too 
Well if I come up with anything useful I will put it here. Great work your're doing. Thanks.

