self updating/refreshing grid, compare two groups of trades
-
-
very nice, thanks. I believe that will work.
My "step counter" is still not working. What is wrong with solution1? Assume that there are buy-trades of group 111 already running. Every 100 pips V1 should increase. What is wrong here?
https://fxdreema.com/shared/PODADgWOcp.s.
Actually this is working correctly but the first step/increase of variable is not working correctly. Everything seems to work after the 2nd trade. The 3rd trade is calculated correctly.p.p.s. I think "For each trade" need at last two trades to know which one is the oldest. Right?
-
I see "For each Pending Order" over there, not "For each Trade", there is some small difference between those two blocks

-
Oh, yes, of course :). The following is the same I have added to my EA and was working as mentioned above:
https://fxdreema.com/shared/v5JaYqMmbI would like to have something that starts increasing variable right from the first trade that is in loss. The above is working correctly but only after the 2nd trade was placed. The lot size of the 3rd trade is set correctly.
-
Maybe you want to do something like this: https://fxdreema.com/shared/jpcPqvJqb
There is a variable that is set to Bid when the upper round number is detected, but then this same variable is compared to Bid, so as a result "Round numbers detector" passes only once for a given level and after each level the price must go even more upwards to reach the next level. Plus, if you make the variable 0, the whole situation resets. -
that looks interesting, but what is "Bid"? This is not a variable. I know "pips" which I can use in adjust field, I assume Bid is similar. Are there more "Words" like these two that could be used in a similar way? If there is "Bid" there must be "Ask", any else?
-
-
Thanks so far.
What blocks allow to use a komma as separator. kommaseperator on groups is working but is it possible to do something like this on "delete objects" : Longmode, Shortmode, ect. in one block?
-
No, there is no such thing in "Delete objects".
More than that, there are no restrictions for object's names and the comma itself can be used within the name, so there will be no way to separate multiple names with commas. Look, I have no problems to give such name to my object: http://prntscr.com/7xqire
-
unfortunetaly, there are some errors since the update.
"+50pips" , "-50pips" "undeclared identifier" what is new to that, what have I to change?
-
Mm, I believed that this is ok, now I will check it
-
I think it works now
-
yes it works again, thanks.
I am going on with testing on life demo if everything is realy working :).
By the way, to place variables and constants to the left upper corner was a good idea.
If you feel bored after this update :), you could make something that is highlighting blocks are using a selected variable or constant. That will be very helpfull.
-
__
If you feel bored after this update :), you could make something that is highlighting blocks are using a selected variable or constant. That will be very helpfull.[/quote:3aqb42pz]
Ok, i did that. In not the best way probably, and not very accurate. Constants/variables that are written manually or used in the sidepanel "Variables" of the properties window are probably not detected. I just used some function that I have for detecting some constants/variables in other situation and I used this one. Let's say that this is experimental.How to do it... move the mouse over the input field and some block will be selected: http://prntscr.com/869vpe
-
I can't follow you or can't verify what you have added or changed.
What already exists is the little window that appears under a variable or constant when I try to delete it and it is still used in blocks. It would be very nice to have a button to "turn on" a variable or constant to make them highlighted permanently in the scematic until "turned off" again.
-
No blocks are highlighted when you mouse over the name of the variable?
-
According to your screenshot, no, there are no highlighted blocks. But even if, it will not be very helpfull because I have to scoroll to see all blocks and if I understood you right blocks are highlighted only when the mouse is over the variable/constant.
-
Then what do you want to happen?
-
well, when I click on a button that is connected to a constant or a variable like the delete-cross button (maybe on the right or left side of the cross-button) then the blocks that are using the variable or constant should be highlighted.
Actually the same that happend when I click on the cross to delete a variable or constant that is still used but then not only a window containing the blocks should appear but the blocks should be highlighted.
simplified: highlight the blocks from the window with the blocknumbers after clicking the crossbutton (of course there should be something to dehighlight them again).
-
Eventually I will remove those block numbers. But I can't get the idea to highlight blocks in a different way (from the way I did it now). There are few working fields (on Init, on Tick...) and for each of them the space available for putting blocks is unlimited. So how to see all blocks at the same time. Only if there is some shortcut created, I guess, but this is not highlighting of the blocks themselves
