fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. nwvw28
    3. Posts
    N
    • Profile
    • Following 1
    • Followers 0
    • Topics 8
    • Posts 28
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by nwvw28

    • RE: Resubmit pending order when SL is triggered.

      @l-andorrà Thanks, I see that you have a variable as, 'open_price'... What value do I give it in the settings? '0' ? I've never used the variables section kind of intimates me. lol Thanks for your help

      posted in Questions & Answers
      N
      nwvw28
    • RE: Resubmit pending order when SL is triggered.

      1 at a time

      posted in Questions & Answers
      N
      nwvw28
    • Resubmit pending order when SL is triggered.

      Something I am having a hard time figuring out how to do is: I have a Buy or Sell Stop triggered then lets say if my SL is hit (which is a tight SL) I'd like for that Buy Stop or Sell Stop to re-post at that Original price. Some might say well if the the conditions are me to place that Buy Stop or Sell Stop then the Pending order will be placed, and I would say, well of course. But in my case the pending order could have been place based on a condition that was met minutes or hours ago. What I am saying if when that pending order is triggered then my SL hits I'd like for that pending order to resubmit at the time my SL was triggered. I know this is possible to do. Can someone please help me?

      posted in Questions & Answers
      N
      nwvw28
    • RE: Multiply lots by 'X' when my balance increases by 'X $' ?

      @l-andorrà Ok, I can see you aren't going to help any further. That's fine.

      posted in Questions & Answers
      N
      nwvw28
    • RE: Multiply lots by 'X' when my balance increases by 'X $' ?

      @l-andorrà I'm not having any success. Any chance you could provide a screen grab of what it should look like? I have been on this issue for months now. The most common sense approaches do not seem to work. I don't know what I am missing. I'd appreciate more help. Thanks

      posted in Questions & Answers
      N
      nwvw28
    • RE: Multiply lots by 'X' when my balance increases by 'X $' ?

      @l-andorrà Hi and thank you for your help with this issue. This is what I tried based on what you said. I can't get it to work, what do you think? My goal is to Multiply my lots by 'X' every time my account balance grows by 'X$' amount. It seems as though it would need to store the last multiplied balance and Risk value to determine whether or not it needs to multiply the Risk by 'X' or not.

      a49c7f05-d0e0-4747-9449-bc58784218f6-image.png

      posted in Questions & Answers
      N
      nwvw28
    • Multiply lots by 'X' when my balance increases by 'X $' ?

      How can I build in FXDreema so that when the account balance grows by 'X $ amount' to then multiply the lots by 'X' amount?

      posted in Questions & Answers
      N
      nwvw28
    • RE: US30/DOW Jones spread/Pip confusion

      @jstap I did this and I get 197 points. Where the question is does that convert to 19.7 pips or 1.97 pips. I need to know what to set my Point rule to as this affects drastically how well my bot does. I rely on what this spread says on the chart during my Strategy tester. Should it display 1.97 or 19.7? 092c21be-e63a-4623-b8e4-65329ae6f2a3-image.png or 0d870cb2-5ee9-4d35-aa0c-231c83fbd163-image.png. Should I set my Rule to US30 = 0.10 or to 1.0? Thanks for your help.

      posted in Questions & Answers
      N
      nwvw28
    • RE: US30/DOW Jones spread/Pip confusion

      @jstap Drag my crosshair where?

      posted in Questions & Answers
      N
      nwvw28
    • US30/DOW Jones spread/Pip confusion

      Hey guys the points to pips stuff is really confusing me. My US30 chart says the spread is 197 points, does this translate to 19.7 pips? or is it 1.97 pips? When I run my strategy tester and select the spread to 'current' on visual mode my spread display says 2.00. Does anyone know EXACTLY how to figure out my spread in pips? I'm hoping my spread is 2 pips not the 19.7 pips. My trading bot does fantastic at 2 pips but complete trash at 20 pips.

      posted in Questions & Answers
      N
      nwvw28
    • RE: Help please. Double lots every time account grows by...

      @TipsyWisdom I think for now I'll keep it as multiply lots by 'X' if account balance increases by 'X', this just makes more sense to me at the moment. Thanks for pointing out the Orange block in the adjust is not good. So far everything I have tried has not worked, but I'll keep at it. I may continue to ask questions if that's okay.

      posted in Questions & Answers
      N
      nwvw28
    • RE: Help please. Double lots every time account grows by...

      @TipsyWisdom Thanks for your response... Here's what I have built based on how I interpreted what you described. How far off am I? Also see the Chat GPT comment I made below. c8df1380-12da-41f0-bf7b-f8b47349ca8e-image.png fca3cee6-b6a6-4164-a22f-903d3db67410-image.png

      posted in Questions & Answers
      N
      nwvw28
    • RE: Help please. Double lots every time account grows by...

      Chat GPT gives me this information when I asked how to increase lots by X when account balance increases by X amount... Question is how do I create a node 'code' via FXdreema. I've managed to build various bots and I am getting better with using this tool but I have never attempted something like this... How would you accomplish this using FXDreema?

      // Define the initial account balance and lot size
      double initialBalance = AccountBalance();
      double initialLotSize = 0.01; // Modify this value to your desired starting lot size

      // Define the balance increment threshold
      double balanceIncrement = 3000.0;

      //+------------------------------------------------------------------+
      //| |
      //+------------------------------------------------------------------+
      void OnTick()
      {
      double currentBalance = AccountBalance();

      // Check if the balance increased by the threshold amount
      if (currentBalance >= initialBalance + balanceIncrement)
      {
          int lotDigits = MarketInfo(Symbol(), MODE_DIGITS);
          double currentLotSize = NormalizeDouble(initialLotSize * 2.0, lotDigits);
      
          // Modify the lot size with the increased value
          OrderModify(OrderTicket(), OrderOpenPrice(), currentLotSize, OrderTakeProfit(), 0, clrNONE);
          
          // Update the initial balance to the current balance
          initialBalance = currentBalance;
          
          Print("Lot size increased to ", currentLotSize);
      }
      

      }

      posted in Questions & Answers
      N
      nwvw28
    • Help please. Double lots every time account grows by...

      Does anyone know how to do this: I need Every time my account balance increases by 'X' amount then multiply the lots by an 'X' amount.
      Thank you for your help. @l-andorrà if you can help I'd greatly appreciate it.

      posted in Questions & Answers
      N
      nwvw28
    • RE: How to get ATR multiple as an adjustable input filed?

      @l-andorrà Thank you that is what I needed to do to get it to work.

      posted in Questions & Answers
      N
      nwvw28
    • RE: How to get ATR multiple as an adjustable input filed?

      @Castlemaine Thank for your response. I tried doing exactly what you have here and I still get the same 'Illegal operation use' errors. I'm pretty sure I matched exactly what you have here. Does it work for you when you try to compile to .ex4? Try that and see if you don't get any errors. Illegal operation use.PNG

      posted in Questions & Answers
      N
      nwvw28
    • 1
    • 2
    • 1 / 2