Here you go. Check in the trading actions bar and look for closed trades. Then select buys or sells to close and put them in your tree

Posts made by StantonHitz
-
RE: How to close trade when the EA gives the opposite signalposted in Questions & Answers
-
Grid function bugposted in Bug Reports
OK so I built a pretty big and complicated bot with a grid function. When I created the grid function alone it was working fine and I have since added more and more into the bot.
0
And now the grid function works sometimes and doesn't work sometimes.If it was just not working, I might be able to find the problem but I can't understand why it sometimes works and sometimes doesn't work.

So this is the tree the governs the grid function

I first compiled the trade information in a bucket of trades.
Then the for each trade loop and the number of trades to check (Trade Count Variable) will always 5 trades more than the current trades.
Then a no Nearby trade function which checks for no trades above or below any of the trades from the trade count in the "For each Trade" loop.
This creates a grid and it works fine... Until it doesn't.
Sometimes it takes 2 trades at the same level at the same time. How can I stop this from happening?
The problem started 2 days after the bot was running fine. Suddenly the bot lost all sell trade information. The bot did not read any sell trades in the bucket and it opened multiple sell trades until the account could not open any more.
I am not sure if the block ID's have anything to do with the code but I previously had block ID's up to 14000+ in my code. I have since changed all block ID's to the lowest possible number in an attempt to simplify the code. ( not sure if this makes a difference or not?)
It hasn't lost the entire bucket of sell trades since this change. But it is opening double trades every now and then. Not all the time, Just sometimes. And I cant figure out why. I have been struggling with this all week.
Someone please help.
Thanks in advance for any feedback. -
RE: Button that works on Strategy Testerposted in Questions & Answers
I just got this... Thanks very much for the tutorial
-
RE: Button that works on Strategy Testerposted in Questions & Answers
@fenixtrading Hi, Can you please share a screen shot or just this part of your project. How did you get the buttons to work in the strategy tester? Thanks in advance for any feedback
-
RE: Can I build my own Renko Charts?posted in Questions & Answers
@l-andorrà Thanks for you help bro. I thought you were with fxdreema. lol. So are the responses all from other members? Is there anyone from fxdreema to answer the questions in the forum or are we all just helping each other figure it out as we go along. hahahaha
-
RE: Equity into variableposted in Questions & Answers
Lol I was wondering why I needed the pass block for the comment to work also. I didn't know that they don't work with out a connection. Thanks for that
-
Equity into variableposted in Questions & Answers
Good day. I need to use the current equity of the account and set it into a variable for use later. This variable should not change unless I set the conditions for a change. For some reason this variable is not updating OnInit. I have plans to use this variable modify on other conditions too but I don't know why it's not working. Am I doing something wrong? https://fxdreema.com/shared/ZaACy3ZBb
-
RE: Delete all pending orders and closed all trades after one click in buttonposted in Questions & Answers
I'm new here so in no way qualified to answer your question but to me... I see that you have these blocks in the "on trade" tab which means that it only works on time per trade. You have to set the condition on trade open or on trade close or what ever. Which is not done in your picture. If you put these blocks in the "on chart" tab it should work better. But I have also seen some posts where people put there blocks in the "on tick" tab which means it happens ever tick. Remember those tabs mean that when that even happens, then the blocks will be executed. SO "on init' means only once when the EA starts. ' on tick" means every tick. "on trade" means once per trade and so on...
-
RE: Can I build my own Renko Charts?posted in Questions & Answers
@l-andorrà Thanks for getting back to me. I just signed up for the full version and I'm loving the platform so far but I have found a few snags that I just can't overcome. I will ask each question in a separate thread.
So I found the mq4 file for a renko chart builder and I tried to use the converter to change it to a mq5 file. When I did this and downloaded the file, It took the 600+ lines of code and put it all into 1 line and in Chinese. Weird I know.... Anyways I saw the full code in the converter, copied this text and compiled it by myself in the metaeditor5. The problem is the the compiled file has 19 errors and 8 warnings. I'm not sure if I did something wrong and perhaps there is a way to fix it, or if the converter just doesn't work properly for files are not made in fxdreema, I have read a few thread on this topic and I know that a few members want to make renko charts by themselves too... I've only been coding for less than one week now so forgive me if there is something basic that I am missing. I tried to do the research first before asking the question
The 2 files shared below are:
1 Working renko chart builder for MT4 code included
2 Code for MT5 with error messages
https://www.dropbox.com/s/457gpurwdzts0ex/RenkoFree.mq4?dl=0
https://www.dropbox.com/s/nw9dmoljeqg8d8v/Converted Renko.mq5?dl=0 -
RE: More than 10 connections?posted in Questions & Answers
@l-andorrà Thank you thank you thank you... This site is great. I have already basically completed my project but I can't figure out the most important part of my bot. Closing the trades... lol. It's a pretty complicated system. I will post a new question about it I guess
-
RE: Hedging losses or balance of trades/marketposted in Questions & Answers
@varso Thanks... I figured it out and couldn't delete the thread. I'm loving how easy this platform is.
-
Can I build my own Renko Charts?posted in Questions & Answers
Is it possible to use fxdreema to create an offline renko chart by reading the chart data? I have these indicators for MT4 but I can;t find the exact kind I want for MT5. Is it possible for me to build my own renko chart builder? Just wondering as I can't seem to find any tools or clues of how/where to start . Thanks in advance for any feedback
-
RE: More than 10 connections?posted in Questions & Answers
Thanks for the feedback guys. I've been using the site for 3 days now and I love it. I am definitely signing up to the full versions. Just using this free time to learn as much as I can about the builder first. hahaha. This is the best thing out there.
-
RE: Hedging losses or balance of trades/marketposted in Questions & Answers
I noticed that I had the "SellDiff" variable as both the input and the adjustment that's why the hedge was double. My bad I figured it out. Thanks anyway. I can't see how to delete this thread, but thanks anyways I figured it out
-
Hedging losses or balance of trades/marketposted in Questions & Answers
Good day to all.
I am working on a high frequency ea with multiple trades in both directions. I am trying to figure out how to balance the market with a hedge. The ea should read the total sell lots, vs the total buy lots and hedge the difference. So.... I have a bucket of sell trades (in lots) and a bucket of buy trades (in lots) and I have created a formula to find the difference by taking the sells minus the buys to find the difference in lots. But when testing this function, I manually enter 0.10 buy lots and 0.40 sell lots. The difference should be 0.30 lots and a hedge should open for that value. But when I test the system, the hedge opens at 0.60. I am trying to figure out how to find the difference in lots between buys and sells, and use that value as the size for the buy trade. The hedge is meant to make me flat in the market. so doesn't matter if the price goes up or down, I won't loose anymore pips. Does anyone understand what I want and know how to implement it? Here is what I have worked on so far. (P.S. this is one the buy hedge section of my code. I need to get through this hurdle before continuing.) https://fxdreema.com/shared/T8jUJQ9de -
RE: More than 10 connections?posted in Questions & Answers
So the paid membership ea's have limitless potential. That's what I wanted to know. Thanks
-
More than 10 connections?posted in Questions & Answers
Good day. I have just come across this awesome platform and I would love to create a few systems with the paid versions. I have a question about the number of connections available to create ea's. The ea I want to create has more than 10 connections. It would more likely be closer to 15 or 16. What happens when I create an ea that is too big to compile and download? Is this impossible to do or is there a way around it?