fxDreema

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

    kizerage212

    @kizerage212

    0
    Reputation
    304
    Profile views
    16
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    kizerage212 Unfollow Follow

    Latest posts made by kizerage212

    • limit max trades on a commericial EA

      Possible to make an EA to limit max trades to a certain number that are controlled by some other EA. But don't disable the other EA (other EA will still run to close trades when needed) just make it so if the other EA tries to open another trade it Blocks it. some brokers naturally limit the max number of trades but is there a way to make an EA limit them rather? Like some global limit.

      posted in Questions & Answers
      K
      kizerage212
    • Disable another EA

      Is there a way to make an EA that would then disable another EA at some point like certain DD reached in dollars then/close trades and then deactivate the other EA?

      posted in Questions & Answers
      K
      kizerage212
    • Converting string variable to double variable value

      So I'm getting a text description (string) from objects on chart. The text is basically EUR: 3.2, for example. But I need to read the 3.2 value, specifically. I assume it needs to be converted to a double variable but nothing is working. I tried custom code too like "pairvalue = StringToDouble(text);" but comment keeps reading "0" for numerical pairvalue variable. Anyone can explain how this can be done?

      posted in Questions & Answers
      K
      kizerage212
    • Understanding the mechanics of this trailing stop Block

      So I'm trying to understand how this trailing stop block is working. As far as I was aware, I thought I understood trailing stops but the EA is behaving not the way I anticipated it would in backtests but then ALSO in real demo trading (so I'm puzzled). Anyway, here are my settings. I have a hard stop of 12 pips already set when I buy or sell. But then my trailing stoploss is 8 pips. I have a trailing step of 4.9 pips. And I do have trailing start Turned on but it is set to zero pips so should start right away. So what I expected when the trade opened was since trailing start is set to zero, the trailing stoploss would kick on pretty much right away and adjust the stop to 8 pips back from the open price rather than 12 pips back. And then every 4.9 pips it moves into profit it would move the 8 pip trailing stoploss move 4.9 pips forward with the profitable trade direction. But it doesn't exactly happen like this.

      Instead, the trailing stoploss does start right away BUT instead of moving to 8 pips stoploss it moves it to 7.1 pip stoploss. And then of course moves by 4.9 pips every 4.9 pip move into profit. Why 7.1 pips? I then realized 12 pips - 4.9 is 7.1 pip. So basically it is ignoring the 8 pip trailing stop setting and just right away moving the stoploss at 12 pips by 4.9 pips to 7.1 pips stop even though the trade just started. Makes no sense to me. Can someone explain why that is happening based on the settings I have. I'm not doing anything else with the SL, otherwise.

      posted in Questions & Answers
      K
      kizerage212
    • Trading renko

      So I've been making EAs to trade renko lately. They work fine on renko charts that are receiving live ticks with the normal entry of the open of new candle after checking previous candles for indicator signals. But I want to backtest and normally people say don't bother. But I have an idea that could fix one of the big issues with renko and backtests. Basically buy/sell based on the close price of the previous bar rather than the open price of the new bar. Normally that would be the same price but not on reversal bars on renko backtest. I'll try to figure out a way hopefully but I'm not totally sure how to do it. I mean normally it just automatically enters at the open price of the new bar. Any ideas how this could be done? The trick is it still has to enter on the open of the new candle because you still got to wait for the indicator signal after the previous bar closes. In renko there are reversal bars which in hindsight on a backtest shift the open price one full brick (so makes it not accurate) and if you enter based on close price then it would be a more accurate backtest as the open price (unless major slippage) is pretty much the same as the close price of previous bar.

      posted in Questions & Answers
      K
      kizerage212
    • RE: Buy or sell after divergence

      Haha. Nevermind. I just figured it out. That always seems to happen where I post and then figure it out in the interim. Too bad the divergence lines repaint though. Shucksss.

      posted in Questions & Answers
      K
      kizerage212
    • Buy or sell after divergence

      So I have an indicator that paints divergence on the main window. It doesn't use the buffers for divergence so I would be working with objects on the chart, which I have never done yet with Fxdreema. I looked in mt4 under the objects list to determine what these lines or what object type they are. It is confirmed the object type is "trendlines" there is two time coordinates. Each divergence (trendline) has a name like this PriceClassic_202009162108_202009162133. The last parts of the name are the dates of the two time coordinates. The divergence line doesn't paint or show up until the candle closes that corresponds with the 2nd time coordinate (in this case 202009162133). But then I need to wait one more candle to confirm and then enter buy or sell (based on red or green color of line). So really I'm checking candle 2 for divergence for the 2nd time coordinate of the object, I think. If present check if red or green and buy or sell. I'm looking at for each object block and then check color (for red or green) and then the condition block but I'm not sure how to line it up on candle 2 and doing this once per bar. I don't even think I need to upload the indicator to "my indicators" since there is no buffers involved in this just select objects on chart and buy/sell based on it. I Any help would be appreciated. Thanks

      posted in Questions & Answers
      K
      kizerage212
    • RE: ATR multiplier in adjust field so SL or TP

      Oh okay. I figured out some other way after I posted this. Actually I just created the ATR multiplier constant as a double data type and simply stuck it in the adjust field like you have there but set to custom (price fraction) and the variable shows up in the optimization settings in mt4 strategy tester (even though you can't tick the optimization box in the adjust field). I assumed if you couldn't tick the optimization checkbox then it wouldn't show up in the strategy tester but if you create a constant variable it automatically shows up in strategy tester (no ticking checkbox required in that case). So then I could easily optimize the value from the strategy tester. It seems to be working. I don't really know anything about the On-init tab. How would that be different?

      posted in Questions & Answers
      K
      kizerage212
    • ATR multiplier in adjust field so SL or TP

      ATR multiplier in adjust field for SL or TP I need to be optimized. But you have to turn the entire adjust field into a variable and then optimization will work. But the adjust field needs to say *2.8 (for example). If I put * in the adjust field and just type the variable after, then the optimization box won't show up. So basically the * part also needs to be inside the variable when it is defined so optimization box shows up. What data type do I use to make a variable that has a value of *2.8 or is there another way to do this? I already have the ATR with adjust field working just fine and just need this for optimization.

      Thanks

      posted in Questions & Answers
      K
      kizerage212
    • Close one candle later

      Wanted to know how to set up a trade to enter on the open of one candle but then ONLY stay open for that candle. Then on the open of the next candle it will be closed whether in profit or not. I have an idea to do it, I think but not totally sure. Thanks

      posted in Questions & Answers
      K
      kizerage212