fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. MrDaisyBates
    • Profile
    • Following 3
    • Followers 0
    • Topics 17
    • Posts 126
    • Best 26
    • Controversial 1
    • Groups 0

    MrDaisyBates

    @MrDaisyBates

    24
    Reputation
    521
    Profile views
    126
    Posts
    0
    Followers
    3
    Following
    Joined Last Online

    MrDaisyBates Unfollow Follow

    Best posts made by MrDaisyBates

    • RE: Backtesting, lets talk about it!

      @roar Hahaha. Oof. Yeah. I imagine this is extremely problematic if you're dealing with very low timeframe algos and stuff especially. I suppose other than some large news candles periodically, if you were testing higher timeframe stuff, like you said, it becomes less and less discernible.

      posted in General Discussions
      MrDaisyBates
      MrDaisyBates
    • RE: EA Password Lock

      @TipsyWisdom I appreciate your quick reply and your contributions to the community. ❤ Thanks again!

      posted in Tutorials by Users
      MrDaisyBates
      MrDaisyBates
    • RE: Scan Historical Data for Conditions/Values

      Thank you so much for the excellent replies, @roar !

      It was more than I expected, but exactly what I needed, so I genuinely appreciate it and learned a bunnccccch from it. It made perfect sense. I had to take my time through it, but it was all really clear, honestly. Hahaha. You're a good teacher.

      So, if I wanted it to continue this loop (even after it found the most recent bear/bull streak, I could simply loop the output of the draw command in block 9 back to the Pass or condition 1 block and that would continue the loop until it hit the 500 loopid, I assume.

      If I wanted it to just pick the highest and lowest points from a streak (not just four blocks of it, since not all streaks will end at exactly 4), then I could add another condition in (after the streak >= 4 condition) that looks for a contrary candle (a bear for a bull streak and a bull for a bear streak) and, if true, then it would draw at the high and low of the (loopid - streak) instead of loopid - 4. Hahaha. I'm sure I'm missing something there, but that's the basic logic at least.

      Thanks again for the reply. I really learned a lot! Especially how the little variables tab off the side of everything works. That's going to be a complete game changer. You have NO idea how many formula and modify variable blocks I've been using in past builds. Hahahahaha. Soooooo many.

      It does beg another question, though, if you don't mind.

      In your example, you have it drawing objects. What if I wanted to store these values? There's no logic in place in MT4/FxDreema that would allow something to the effect of "store output into streak + 1" on the first pass, but if it runs into the condition again, "store output into streak + 2", etc. I would need to have a "streak1", "streak2", etc series of variables and program in some logic in that stores the first encounter into Streak1, then...maybe it changes a bool value to true, then stores the next in Streak2, then a new bool value to true, and it does that up to a set amount of predefined variables? I'm sure that idea would work, but I guess what I'm asking is, is there some functionality like that already built in, or is it something that I'll have to address myself by predefining all these variables in advance?

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: [FR] Version Control History

      Hahahaha. And to be fair, @l-andorrà , I did take your advice and email him first! haha. So. You might have been correct. Don't be too hard on yourself. Appreciate you, bud.

      And to @fxDreema , that's really great to hear and I'm glad it's already in the back of your mind. I'm patient. I just wanted it out there.

      Eliminating the scroll bars and with zoom might be an interesting combo. I assume kind of like an infinite canvas like you see on many other, modern applications (like Obsidian's Canvas, for example).

      If you're in the process of doing all of that anyways (and you're already probably thinking of this, but I'd like to say it for the record), one night, I was on my phone and looking at a forum post about something, and there was an example project linked with a custom code block...and there was no gesture for me to access and see its contents! I know phone isn't optimal, but it'd be really nice if I could at least like long press and then select the block's contents window via the menu that comes up. There's likely some other mobile/tablet specific pain points, as well. Again, I know it's not optimal, but if you're already gutting and redoing everything anyways, it's probably worth having in the back of your mind.

      That's my two cents regardless.

      Really appreciate what your'e doing here regardless. Just wanted to voice some thoughts. I've said what I thought and consider this closed on my end. Appreciate your consideration in these matters.

      posted in Bug Reports
      MrDaisyBates
      MrDaisyBates
    • RE: EA Password Lock

      @mentor123 Why the heck are you spamming posts and private messaging me for things not even related to the topic at hand?

      I'm all about helping when I can, because we all need help at times, but this post and my DM's aren't the right venue.

      Make your own post in the proper place with the proper title and the proper questions and you might get some engagement.

      posted in Tutorials by Users
      MrDaisyBates
      MrDaisyBates
    • RE: Scan Historical Data for Conditions/Values

      Thanks again, man. You're an absolute legend!

      It's all made very good sense and everything and I'm still getting a lot from this (especially seeing how you've modified it). I feel confident that I can handle the task myself now. It's been extremely helpful getting a glimpse into the thought process of someone with much more experience in this area and it's helped frame things out for me in a way that I can better use them.

      Arrays...I haven't seen/heard of them in context of MT4, but from just now glancing at it, it seems like you might be right. And I know my question is kind of vague. My apologies. Not trying to be cryptic or anything like that. I have some ideas of how I want to use it, but I don't have just one specific way in mind, though I was mainly thinking of using an EA on range bars, isolating streaks could point towards a supply/demand zone, so being able to extract a price from that could be useful. (Especially with the idea of extracting the low or high from the candle BEFORE the streak started, if it's lower/higher, like you intuitively did yourself). I was also interested in storing multiple outputs because of the idea that price could bull streak, for example, multiple times in a row and each one could provide a potentially useful supply level if they've not been broken yet. This means it could/would be useful to store the outputs of, say, the last 10, for example. (or until they're broken by some other criteria in the EA).

      I'm sure the loops will be a really helpful part of this, but it's sounding like arrays are also a new framework, as you described it, that I'm going to need to tackle now. Hahahahaha. The joys of learning!

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Pips Away from MA

      First off, pips or points? 400 pips is a toonnnnnn of movement on a 30 minute chart with Forex.

      0_1603355909175_e2bf5617-2bf8-4bf5-9901-3fbc61eb2658-image.png

      There might be an easier way, but I'd use the formula block, subtract the pips off of it, store it in a variable, then add a condition block immediately after it that does "Candle Close <= Variable"

      Then add a "Draw" command after it and specify what you want it to draw and where you want it to be drawn.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Scan Historical Data for Conditions/Values

      I'm looking through the shared project again, Roar, and I am curious:

      Could you possibly explain the logic behind the streak being set to -1, why if condition five is false streak gets adjusted in block 6 by +1, and the V6+2 in the same block? I'm trying to understand the thought process behind this. I'm sure you have very good reasons for doing it this way, but I don't immediately understand why. Hahah.

      Thanks again, bud. Sorry to load you down.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Scan Historical Data for Conditions/Values

      Gotcha! Yes! The Current is Bull was set to -1 and for some reason, while trying to take it all in, I thought it was the streak one in hindsight. I can completely see why it needs to be something other than 1 or 0 now that you've clarified it.

      And that makes sense on the streak adjustment thing, too, now that you've pointed it out. The first time it detects the pattern (two simultaneous candles the same direction), the streak isn't 1, it's 2. Hahaha. So, that makes sense now that you've phrased it that way.

      Ah! You make a good point that I didn't even think about--that it's counting from right to left, because as loopid changes, the candle number is increasing (and they increase from right to left, as you said) hahahaha. Now I've got to reorient my mind about how all this stuff works again, because I was instinctively working from left to right whenever I was trying to make sense of this stuff originally. Oof.

      Thanks again for all the clarification! It's been really helpful! I don't think I have any other pressing questions at the moment. That might change as I dig further in.

      There isn't any critical differences in how this works for MT5 coding or anything, is there?

      I've not messed with MT5 in FxDreema at all, but I've noticed in some of your tutorials and stuff that you've used MT5 coding and I feel like I've seen Miro and some others using MT5 also. It's leading me to the assumption that you guys are comfortable in MT4 and helping others in MT4 since it's the most commonly used of the two (I think), but it seems like you guys probably prefer MT5 (otherwise you would present project ideas and stuff in MT4 only since it's the most common).

      The reason I ask is because, from starting to look into MT5, it seems much more robust for EA building/testing, which is super exciting to me. I'm still early enough in this EA building journey to transition over this way, I guess I'm just curious if any major part of this doesn't apply to MT5 FxDreema building? Surely it's all pretty much the same on the FxDreema end of things (and different on the custom scripts and stuff).

      Thanks for the additional info on arrays, too, btw. That's very beneficial. I've spent a lot of time in Excel previously, so I kind of see arrays as a table now, in essence.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Scan Historical Data for Conditions/Values

      Thanks for the additional info, @roar

      As you've probably noticed, MT4 is way more popular with brokers (practically every broker has it, whereas MT5 is a bit more scarce. You might be right. There could be some additional costs associated with supporting it at the broker level, or it could simply be more crap that can break and, if demand isn't high enough, then they don't bother with the added headache.

      I decided to give MT5 a download and mannnnnn, there's soooooo much extra stuff int he strategy tester and stuff (plus I got a pretty beefy computer, and it allows me to use the processor to the best of its ability, which really speeds things up, also). I'm very pleased with it so far, to say the least.

      I think a lot of people stick with MT4 for custom indicators since it's old an faithful (maybe for hedge positions, since I don't believe you can open conflicting positions on MT5? at least that's what I've heard)

      Years back, I was interested in indicators primarily (I thought they were going to be the key to trading success), and I heard MT4 had way more and that they weren't compatible, so, after loading up both applications one time, I saw they graphically looked really similar, also, so I just assumed that MT4 was pretty much the same and I never looked back. I think at that point, I probably made the right decision.

      Now that I'm building EAs and venturing down that route, I think the tables have turned. I'm using less custom indicators than ever and that added functionality of MT5 seems very worth it in my case. Thanks for the encouragement!

      Thanks again for all your help, as well!

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates

    Latest posts made by MrDaisyBates

    • RE: [FR] Version Control History

      Hahahaha. And to be fair, @l-andorrà , I did take your advice and email him first! haha. So. You might have been correct. Don't be too hard on yourself. Appreciate you, bud.

      And to @fxDreema , that's really great to hear and I'm glad it's already in the back of your mind. I'm patient. I just wanted it out there.

      Eliminating the scroll bars and with zoom might be an interesting combo. I assume kind of like an infinite canvas like you see on many other, modern applications (like Obsidian's Canvas, for example).

      If you're in the process of doing all of that anyways (and you're already probably thinking of this, but I'd like to say it for the record), one night, I was on my phone and looking at a forum post about something, and there was an example project linked with a custom code block...and there was no gesture for me to access and see its contents! I know phone isn't optimal, but it'd be really nice if I could at least like long press and then select the block's contents window via the menu that comes up. There's likely some other mobile/tablet specific pain points, as well. Again, I know it's not optimal, but if you're already gutting and redoing everything anyways, it's probably worth having in the back of your mind.

      That's my two cents regardless.

      Really appreciate what your'e doing here regardless. Just wanted to voice some thoughts. I've said what I thought and consider this closed on my end. Appreciate your consideration in these matters.

      posted in Bug Reports
      MrDaisyBates
      MrDaisyBates
    • RE: [FR] Version Control History

      Thanks, @l-andorrà ! I guess he doesn't check here?

      posted in Bug Reports
      MrDaisyBates
      MrDaisyBates
    • RE: [FR] Version Control History

      Did he tell you that or something? I'm kind of of the mind of letting him speak for himself. Hahaha. We'll just have to see.

      posted in Bug Reports
      MrDaisyBates
      MrDaisyBates
    • RE: [FR] Version Control History

      I guess you're suggesting that I @fxDreema ?

      posted in Bug Reports
      MrDaisyBates
      MrDaisyBates
    • [FR] Version Control History

      There's not a dedicated area for feature requests, so, I figured this was the best area for it.

      I really appreciate the fact that FxDreema has such meticulous historical tracking. It's a needed feature.

      I'd like to request an optimization for it.

      In the past, I've often made a bunch of different versions of the same project, mainly because I want to preserve certain states.

      Instead, I really like the idea of a project staying a project and having some version control. My thinking is like git would, for example. As in, it's still tracking all the changes, as per usual, but with the gained ability to make a "commit."

      Basically a commit would be a saved version within the project.

      So, once loading the project, we could also toggle different commits (to reactivate old states and whatnot). Call it what you will. I just like the idea of being able to have a project for one trade idea, but being able to toggle between different save states (and then resave them before switching to another, if we so wish to).

      I think the benefits are self evident, but in making a request, I feel obligated to demonstrate why it would be useful.

      I'm designing something as a prototype right now. I will not use it live. It's just a proof of concept. I'd like to keep it forever, and then start a Version 1, Version 1.1, Version 1.2, Version 2.0, etc.

      It's all one project technically...just different points in history or time.

      I also feel like the QoL on this is quite nice and I (assume) it wouldn't be THAT big of a task since it seems you already have the most essential building blocks in place.

      Anyways. That's all. Thanks. Feel free to close this if this is something you're not interested in doing.

      posted in Bug Reports
      MrDaisyBates
      MrDaisyBates
    • RE: Detect if historical candle has X Minutes

      @l-andorrà Thanks for the reply, bud. Sorry for not being clear enough.

      I'm thinking every 1m candle (or any timeframe for that matter) with a server time of XX:05, I want it to give me a "true" output. And all others, a false.

      So, I would like a condition, that when I run through a loop (increasing candle_id), then every time I hit an old candle with that server time, I want it identified.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Detect if historical candle has X Minutes

      @l-andorrà Sorry to tag you. Is this something you're capable of answering? I know time is a quite tricky thing in Dreema. I'd like to refrain from dragging Roar in if I can avoid it. I feel bad for how he's basically the only person who can answer almost everything (that regularly answers anyways ahahaha).

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • Detect if historical candle has X Minutes

      Hello again, lovely people!

      I've attempted to create a loop that goes through old candles and then marks them if they meet certain time criteria.

      Specifically, if the loop hits a candle with six minutes (all hours), then draw something on the candle before.

      So, what I need is a "condition" that will detect "true" when the time on the loaded candle has a set amount of minutes, but doesn't discriminate by hour or anything else.

      I've tried a few different things, but this is the main one I feel is closest?

      aafc2840-66fd-44ed-bc65-c9598583466c-image.png

      When I drop it on a chart, it's not ever making it to the draw commands I have. I put a custom MQL block with a print command down there and it's never printing anything (this is only able to be done after detecting a valid candle, and it never happens). So, I'm assuming that it's never flagging valid candles.

      Thanks in advance for the help.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: First Attempt at Arrays. Could use an expert opinion.

      @roar Thank you for your help and hospitality, Roar!

      I feel I'm still learning and fumbling, but managing with all of the above. I'm sorry for the delay in replying. I just didn't want to rush back in haste. But I still wanted to thank you. So. I appreciate you! I'll keep at it and see if I can keep fairing. Haha.

      Take care until we cross paths again!

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: First Attempt at Arrays. Could use an expert opinion.

      Upon more research, it seems stack overflow problems are caused when an infinite recursive loop is in place. So, I will continue to try to solve this myself since it's not array related (I assume it's not?). I can't say for certain that the array stuff is "solved" until I button this up, though, since I can't test my array stuff ahaha.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates