fxDreema

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

    Posts made by MrDaisyBates

    • RE: Pips Per Day?

      Hey, @yoloyacht

      Do you get a certain amount of pips and stop trading?

      Or, for every day the trade is open, you add a certain amount of pips?

      I'm not exactly sure I can help either way, but the question is kinda confusing, I suppose. It's not apparently obvious to me how it's intended to be used, so I'm not sure if the question is easy to answer.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Are there

      Hey, @kobiewel

      Unfortunately, this is really vague and it's going to be really difficult to assist.

      If you want an EA to open a trade at a chosen price, you can store the price you want to open trades at as a constant, or in a variable if you use some formula or indicator to calculate the price.

      You can also store the SL in pips, price, etc in variables or constants also, depending on if you want to specify it or variables if you want to retrieve that value from something else like an indicator or a calculation of some type.

      If the entry price and SL are stored in variables, as long as you don't have the loop set to recalculate these variables every time it passes through, then there's no issue placing trades at the same price (you could just use limit orders, also since everything is predefined, but that's your call).

      I'm still not sure I fully understand your question, so my ability to answer is limited, but you might try something like

      Condition True, change bool value from false to true.

      Then have a condition near the top of your structure that says "If bool true" then have all your trade logic stuff over on the true side. That way if the bool is false, then it updates your conditions, but once the bool is true, it keeps following the trade logic stuff you define and not your conditions/variables.

      I don't believe there's a way to tell if a TP was hit or not, but you can check if the trade was closed at a profit (and if the TP is the only profitable method for closing the trade, then checking that the trade was closed with profit should be enough).

      For this part, you might do something like

      If bool true,
      place limit order at price/SL determined earlier.

      Then you can elsewhere have an "if no trade/order", last trade closed with profit, then bool = false. That way it stops placing new orders. If trade was closed at a loss, then it leaves the bool true.

      I'm sure there's pieces I'm missing, but this general logic should work. Because your question was kinda vague, this is about the best I can say. Hopefully, this helps you solve your problem, at least.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: check Trades and adjust Take Profit

      Hey, @boll3k

      Have you tried using the "pips away from open price" block?

      If you put a negative value in it, it will basically act as a condition block for seeing if price has moved backwards by a certain amount of pips.

      So, something like

      "for each trade"
      "pips away from open price" = -10

      Then you can use an add volume block, buy now, whatever you wish.

      Maybe you could add a formula block in or something after that. That formula block could be something like "lotsize (the constant/variable that you have your lot size stored in) x 2" and then store that and use that for your lot size value for your new trade order.

      I'm still a super noob with FxDreema, so I'm still learning, but I hope this can be of help to you. Maybe someone else can come along with an easier way or something, but this is how I would try to do it myself currently.

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

      Also,

      Where you typed "loopid - 4", would "V1 - 4" have also worked?

      What if there was a constant 3 that I used as an input in my settings.

      Would something like "loopid - constant_3" work?

      How about "V1 - C3"? (I'm not sure if constants also get that handy little shortcut like the variables do)

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

      It also seems I'm going to have a lot to learn as far as the text based condition blocks work and stuff. I've seen them used in a few of the example projects floating around and most of them go completely over my head. Yours made sense only because it was that one line and I've been messing with a lot of bool stuff so far, so this idea of "variable == True" is pretty fresh in my mind, so setting two variables equal to one another as a condition makes sense. I guess the rest of it I'll probably be picking up on a need be basis since it's probably not possible to just learn all the possibilities by reading some list or something.

      posted in Questions & Answers
      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: Scan Historical Data for Conditions/Values

      Looking over it again, I don't understand the green V1-V6. Are these just normal variable labels in this context or does the green color suggest something?

      I don't know what the white, orange, and yellow areas are, either.

      Best I can figure is, you've created a variable called LoopID to identify what pass of the loop you're on? And the V1+1 means that whatever loopid you're on (like your 5th one), you add 1 onto it so that it's now loopid 6, so then it'll run through as that. Hahahaha.

      But, yeah. I've got no idea what the P1 P2 thing are, where you got those little boxes from with all the little colored circles, what each colored column means, etc. I'm really intrigued and I feel like I'm pretty much going to be using this in almost every EA I build for the rest of my life, hahaha, so I'm really curious to learn.

      And, by no means do you have to hold my hand or whatever. If you have a link to a really good tutorial that explains all this stuff in great detail, that's totally fine with me, too! I pick stuff up well in that context, also. I'm just so new to this, that I don't even know what to search for or how to phrase this stuff. I know a lot of you guys have been doing this for years and probably have some great advice on what's the most effective way to learn this stuff correctly. It's not the first time I've jumped into the deepend prematurely.

      Thanks again in advance, guys!

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

      @roar Thank you so much for your help, bud!

      You're absolutely right, though. I've never seen this P1 P2 thing or this box out to the side.

      Would it be possible to explain the general logic behind this in words so that I can grasp it. I'm new, exactly as you suggested, but I'm a fairly logical thinker, so I'm not intimidated by it...I just don't understand it yet. Hahahaha.

      0_1603269384876_bc79ef32-181d-4b83-afce-a5297b4a5d2b-image.png

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: ZigZag

      Hey, Yolo.

      Whatever method you use to find the highest/lowest price, you can simply change it to retrieve the "candleID" instead. Then in whatever other blocks you're using, you can plug that variable in as the candleID. I hope that makes sense.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Help Clarify "For Each Position/Trade" Block

      I'm not sure I can help or anything, but could you at least share the project file so somebody can?

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

      @l-andorrà said in Scan Historical Data for Conditions/Values:

      d you to ask for mr. roar's help. He the best user creating lo

      Thank you for your reply, bud!

      @roar , is there any way I could possibly convince you to entertain the idea of tackling this concept? I'm really interested in loop type stuff because it really seems like a lot of the magic/power in EA building is going to rely on this idea.

      Thanks in advance!

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

      I'll try to describe this the best I can, but I haven't gotten my exact idea fully developed yet, so it's likely a little vague, but:

      I know how to make an EA that runs in real time and checks for conditions as it passes events, but what if I want the EA to scan the last, say 1000 bars, find situations that meet specific criteria, then extract something from it (like the highest/lowest price or something).

      How do I specify the candles that are looked over and, since I don't know if the event will have happened one time, five times, zero times, or a hundred times, how does one handle variables in situations like this? Is it even possible? Do I need to make like 100 variables or something, then some how create some loop that puts data into the next one whenever it fills the previous one?

      Maybe a more clear example.

      Every time 4 bull/bear candles form back to back, store the lowest/highest price into a variable.

      My thinking is that, if I wanted a EA, that I loaded up an hour ago, to make a decision today on a market condition from five days ago, how would I specify the candles for it to search through for specific conditions and how do I best handle the variables in this situations?

      Thanks, peeps!

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: "Trailing" a Take Profit

      Nice!! Thanks, @l-andorrà !

      I guess I couldn't find it because it was in the "Trailing Stop" thing ahahahaha. Appreciate you again, bud!

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • "Trailing" a Take Profit

      I see ways to trail stops, but is there a straight forward way to once per bar modify the Take Profit on all open trades? (Would be using an indicator value, if it's relevant)

      Thanks!

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Question about how Active trades are managed

      @l-andorrà

      Awesome! Thanks for the reply! That's exactly what I wanted and I was just concerned I was going to have to make some crazy loops or make EAs specifically for every pair. Thank you so much for your time and clarification!

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Question about how Active trades are managed

      @l-andorrà said in Question about how Active trades are managed:

      s you mean 14 charts with one EA and the oth

      Sorry if I'm being confusing, @l-andorrà

      28 charts, 1 EA each, but all the same trading account, of course. Like stated, mainly worried that the EA on a EURUSD chart will affect the operation of the EA on an GBPUSD chart, for example. I don't want them to interact with one another at all.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: Question about how Active trades are managed

      @l-andorrà said in Question about how Active trades are managed:

      t the one teh

      Thanks for the reply, @l-andorrà

      0_1601642733406_df815d79-c006-42ff-90e1-8f52a749c24f-image.png

      So, if I leave the symbol mode like this, but don't type anything in the Symbol slot, it'll only affect trades that the EA placed itself for that specific pair?

      If I have to type something in the symbol slot, that would mean I'd need a separate EA file for every single pair, wouldn't it?

      My main thing is if I have 28 instances going, and two EAs get a signal, I want them to both be able to take it. Not only one just because of the "no trade" thing. Same thing with trailing stops and whatnot. I only want the EA to do it for trades that it opened itself on that specific pair.

      posted in Questions & Answers
      MrDaisyBates
      MrDaisyBates
    • RE: BUG in % Risk of balance

      @xbuilder Just to be clear:

      0.1 is 10% and 0.01 is 1% (depending on the context of how you're using it). A tenth of a percent is 0.001. Are you 100% sure you're math is right where you're using it?

      posted in Bug Reports
      MrDaisyBates
      MrDaisyBates
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 6 / 7