fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Heisenburg
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 16
    • Best 0
    • Controversial 0
    • Groups 0

    Heisenburg

    @Heisenburg

    0
    Reputation
    380
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Heisenburg Unfollow Follow

    Latest posts made by Heisenburg

    • RE: Loop through double variables to find variable name

      @josecortesllobat
      Thanks, I have seen that before but looks like too much for my brain to deal with unfortunately.

      posted in Questions & Answers
      H
      Heisenburg
    • RE: Loop through double variables to find variable name

      @fxdreema
      Thanks a lot for the info, I am taking your advice on those formula blocks to reduce into one block. The limiting factor for me is I only know very basic coding hence why I did that bit I've figured out how to do it.
      On the array idea, would you have any examples I could refer to in order to try that? Thanks

      posted in Questions & Answers
      H
      Heisenburg
    • Loop through double variables to find variable name

      Hi, I have a scenario where I have a lot of double variables created (for example (High, and high 5%, high 10% are variable names) , each of which will always ultimately be my Order price, stop loss and take profit.
      I have different buying and selling scenarios whereby they all ultimately go to the same bucket of pending orders at which point I have an order price, which is stop loss and take profit variable.

      I would like the robot to tell me what the double price variable name is once an order is triggered. For example when an order price double variable is created I want to loop through all the double variable names to find out the order price of the double variable name. So eg if order price double price = High 5% (double variable name) then return High5% Would anyone know how to do this? I envisage having to create a collection of double variables then running a custom code block but I don't have a clue how to code.
      Thanks

      posted in Questions & Answers
      H
      Heisenburg
    • RE: Value Between Filter block

      Yes but you would need to keep using that block if you had more than one condition. For example let's say there is a currency pair when the current price is between:
      85.5 and 86
      88 and 89
      92.2-92.4
      Etc
      Etc
      And these are hotspots on the market whereby there is no point in trading when price is between levels as your strategy would make a loss, it would be good just to have one block to tell the robot not to trade when price is within these levels.

      posted in Questions & Answers
      H
      Heisenburg
    • Value Between Filter block

      @FXDREEMA
      Hi, I think it would be beneficial to have a between block. For example if you have a strategy whereby you only want to trade on candles that are between a certain amount of pips in length or there is particularly prices that you don't want your EA to trade on, it would be simpler to have to use one block rather than multiple blocks.

      It could be set up in the same way as the time filter eg there are
      multiple times within the one block that you can set your EA to run on. Cheers

      posted in Questions & Answers
      H
      Heisenburg
    • RE: If Buy pending order taken no sell pending order and vice versa

      I've simplified my block structure but for the life of me I can't get this to work. All I want is if Buy order is placed and then closed then don't take a sell order and vice versa until the next week. I feel as though this should be simple but I've spent hours and hours trying to figure it out. Counter blocks don't seem to work, For Each Closed Trade doesn't seem to work, arrrrrghhhhh!!!!!!

      0_1536490974709_Capture.PNG

      posted in Questions & Answers
      H
      Heisenburg
    • If Buy pending order taken no sell pending order and vice versa

      My issue is I want my EA to work only once per week on either a buy or a sell. It works perfectly fine in terms of before a trade and during a trade. On trade created I have close trades. My issue is after a trade has been closed it still wants to look to open a new pending order when the conditions are met. How do I solve this? I have tried For Each Closed trade ad check age before Buy and sell Pending orders but I can't get that to work. Thanks

      0_1536364269254_Capture.PNG

      posted in Questions & Answers
      H
      Heisenburg
    • RE: Storing specific candle high, low and pip size

      Finally figures this out - Just needed to add an and block after Modify Variables.

      posted in Questions & Answers
      H
      Heisenburg
    • RE: Storing specific candle high, low and pip size

      Can anyone provide me with any wisdom on this? It looks to me that as I have more than one weekday filter that the second block of weekday filter is negating the first block of weekday filter that I am using to store Monday high/low/pip value even though I don't have them joined up, arrrghh!

      posted in Questions & Answers
      H
      Heisenburg
    • RE: Storing specific candle high, low and pip size

      Further to this it looks like as the default value is zero then this Weekday filter doesn't seem to be working as if I manually change the Monday Daily High default from zero to a price on the chart I can see if buys at that price so it looks like this variable isn't doing what I want it to do ie work out the Monday Candle High value, anyone any ideas? Thanks

      posted in Questions & Answers
      H
      Heisenburg