fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. roar
    3. Posts
    • Profile
    • Following 0
    • Followers 184
    • Topics 35
    • Posts 2406
    • Best 422
    • Controversial 6
    • Groups 0

    Posts made by roar

    • RE: Different RESULTS

      Mt4 or Mt5 ?
      Difference may be history data or perhaps execution delay. In any case, I'd say profit factor is very poor measure of EA profitability. Number of trades per year and max equity drawdown tell much more.

      posted in General Discussions
      roar
      roar
    • RE: problem when rich TP open onother position...

      So you want the first signal to close the sell, and second signal to open new buy?
      This will be closer to your strategy: https://fxdreema.com/shared/ktzx108Lc
      But I'm afraid you will have to define the "signal" in more detail

      posted in Questions & Answers
      roar
      roar
    • RE: Conflicting conditions

      You have a typo in the lower picture, 2100.

      posted in Questions & Answers
      roar
      roar
    • RE: Calculation to close all trades not triggered

      Do you have trades on multiple pairs? Check that closing block, it has default setting to only close the trades on the pair it is attached to.

      posted in Questions & Answers
      roar
      roar
    • RE: Are Variables restricted to Magic Number?

      Yes, I believe so, if you mean the fxdreema variables. Then there are the terminal variables (global variables) that can be shared among eas.

      posted in Questions & Answers
      roar
      roar
    • RE: Here, take this profitable ea

      @drayzen Nice thought, haven't used tick indicators before.

      Anyway, I'd say it is not very fruitful to determine quiet periods and not trade in them. That is because of the quietness is very relative, and so you also have to sacrifice some good opportunies if you set a fixed quietness treshold.
      I think it is better to let the trades open in all conditions, but implement a different risk managing and exit systems for the quiet periods.

      posted in Tutorials by Users
      roar
      roar
    • RE: Silly question. Please don't laugh at me...

      @sydneyfox I think you are talking about the constant inputs, and not precisely variables.

      I have solved this variable problem with global (terminal) variables (create corresponding global variable for each fxdreema variable and keep them in sync), but that is not very elegant a solution 😄

      For your specific situation, I would just create a boolean variable terminated, set it to true when you want the virtual termination, and put this condition before everything else: terminated == false

      posted in Questions & Answers
      roar
      roar
    • RE: Compiling?

      Those 2 warnings come with basically every project, nothing to worry about there - the problem is most likely elsewhere.

      Metaeditor puts the compiled .ex4 files to your expert advisor folder, something like "...../MQL4/experts/"
      The folder is nowadays in the metatrader install location.
      You should see the ea in your metatrader navigation panel, remember to refresh it.

      posted in Bug Reports
      roar
      roar
    • RE: Compiling?

      This sounds like some general software problem, maybe antivirus checking the download...
      If you download the .mq4 and open it, it should open in metaeditor by default. In metaeditor, hit the button "compile" in the top row, and it gives you information about possible errors.

      posted in Bug Reports
      roar
      roar
    • RE: My Grid type EA project

      https://fxdreema.com/shared/jX8wezXxc
      This seems to work. I see fxdreema has implemented some nice new blocks, makes things easier 🙂

      0_1529231575041_multicurrency.mq5

      https://fxdreema.com/shared/LDVAFZSMd
      0_1529308139027_7050fbbb-8e13-4fd5-a41d-2fdf34b07bfe-image.png
      0_1529308148211_e4ca2926-56ac-4e24-8612-948aed4c614e-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: My Grid type EA project

      Oh, yes, I used the candle ID in just one block, others are id 0.
      That one block is meant for randomization; it compares upper wick of candle 55 to candle 67 or something, the outcome is very random (50:50 buys and sells). That condition can of course be something else as random, or perhaps some custom random function.
      Personally I would trade in direction of some long period moving average, its not random and its not perfect trading analysis, but it is something in between...

      The ea will trade instantly you run it.

      posted in Questions & Answers
      roar
      roar
    • RE: My Grid type EA project

      https://fxdreema.com/shared/OG5F0mdB
      Here's the core grid system as you described.

      You can just open this into a new tab and then copy all blocks to your new project.
      Remember to set constants and variables like this:
      0_1528808539481_53d6bafb-8548-4b14-96b2-6b3abb1b587e-image.png
      0_1528808548909_8ffc8770-7808-45d4-a700-762472ec8f68-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: My Grid type EA project

      You can flip the grid by putting negative Grid size.

      If you want to do it manually,

      • when a trade is opened, store the price to some variable lastprice
      • formula: candle price - lastprice
      • condition: formula result is above X pips
      • open trade, change the price variable.

      I'm not sure about the average 5 pips closing, as I use netting system myself. I guess you can do it with the bucket of trades -block.

      posted in Questions & Answers
      roar
      roar
    • RE: Martingale over all pairs

      I would make another variable (:D) that just counts the trades opened. Then you could put first condition like "tradecount == 0" -> if true, use default settings,
      -> if false, "check profit" etc.

      posted in Questions & Answers
      roar
      roar
    • RE: "Ontrade" Price order modified block?

      @reyxv16 I didn't fully understand you, but how are your orders moving? Automated or manual? If you have automated the moving, then you could simply store the price to a variable and then check if that variable changes..

      posted in Questions & Answers
      roar
      roar
    • RE: Help please

      This should do. Note the "on Trade" tab (and also this is only for buy)
      0_1528318520039_ffd17231-4b11-4789-a48d-67e671954bb4-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Here, take this profitable ea

      @miro1360 Yes, I have used it too, just like you said 😄
      It is just not very "flexible" for my needs, it heavily depends on the calculation period... My goal is to find a system that can evaluate not only trend from x bars, but also a bit longer and a bit shorter period - the market does not always make x bars cycles

      posted in Tutorials by Users
      roar
      roar
    • RE: Here, take this profitable ea

      @drayzen hahaha 😄
      As I said, this is a year old project, I must recall what I was thinking:

      The core principle is to sell RSI 70 and buy RSI 30 (block 11 downwards).
      I like to use a trigger with rsi, for example: sell at 70, rsi comes back to 50 -> another sell at 70 is now allowed.

      Rest of the blocks are to determine the main market direction, and to restrict selling an uptrend for example.

      Block 2 downwards is checking how many consecutive days rsi is >50 and also price > BB (and vice versa for downtrend) Variables Dd = "days down" and Du = "days up"

      Block 24 downwards is to find high and low point of the last swing (roughly)

      Block 18 downwards is to calculate the midpoint of those highs and lows (variable "med"). This is used to restrict unwanted sells and buys..

      To be honest, I doubt my main trend analysis does any good - the core principle of selling rsi 70 and buying rsi 30 with the trigger mechanism is quite good on its own.
      I havent traded this, didn't trust this enough.

      Initially wondering if a 'No Trade' instead of the 'Once per bar' would enable more opening opportunities? (just thinking of my own issues with having it first)

      I have found it best to always use once per bar. "No trade" would maybe create 0.000001% better trading results, or maybe that much worse - in any case, the difference is not much but it would greatly slow down the backtesting.

      posted in Tutorials by Users
      roar
      roar
    • RE: Sharing is good!!!

      I think sharing one's ideas is a great way to create something new. New approaches to design.

      For the profitabitily, I still believe you can make an EA you can rely on to make profit in the long run. It is not easy task by any means, but on the other hand, people didn't believe airplanes were possible either.

      @4tronic, Think clever: If you find a profitable "edge" to trading, that means the price is above/below the "real value". The more people utilize this gap, the smaller it gets. This leads to conclusion sharing is bad, BUT considering the volumes in forex market - you can hardly create so popular EA that it affects the market anyway 😄

      Above is also the reason why smaller ETF funds tend to outperform the market (and also bigger funds) - smaller capital gives the ability to profit from smaller market anomalies.

      posted in Questions & Answers
      roar
      roar
    • Here, take this profitable ea

      Last year (May 2017) I made some very simple ea based on bollinger bands and rsi. Today I backtested it again and surprisingly it would have worked the last year similar to the earlier years. This is not very common in backtesting - usually the bots fail after the period they are initially tested and developed on.

      Feel free to use this ea (as an example, start point, inspiration, what ever). Maybe you can even improve it.
      Note: this only works on a mt5 netting method account
      https://fxdreema.com/shared/pTIbLpWob

      0_1528134336412_Roar v1.0.ex5

      0_1528134269821_3c994f61-51da-49bc-adab-cf02bbd7ac15-image.png


      Update 30.12.2022: Bot seems to be working still, without any changes since 2017

      0_1672405015592_fe814329-5ac4-4031-94d8-a1be8fbac7bb-image.png


      Update 29.8.2023: Refactored the EA to work on modern hedging method mt5 accounts. Also simplified the strategy to what matters the most (theres lots of useless stuff in original version), in essence the strategy is this:

      • Build long/short positions with RSI
        - When above 70, sell
        - When below 30, buy
        - Before selling/buying another time, wait for the RSI to visit level 50
      • There must be a mechanism that favors closing the positions rather than letting long/short position grow bigger and bigger
        - Only allow the position to grow if price is above daily median (buy) or below median (sell)
        - Trades that shrink the total position don't have that rule, so positions naturally stay small
      • Lastly, limit the trading actions to more volatile half of the day by comparing fast and slow ATR values

      The reduced strategy is not quite as profitable as the original one, but still clearly on the black after 6700 trades. Feel free to add your ideas to this.

      https://fxdreema.com/shared/rCGHpDKod
      8e5a48c7-be90-46da-90c0-f4dc58f6fa05-image.png

      posted in Tutorials by Users
      roar
      roar
    • 1
    • 2
    • 104
    • 105
    • 106
    • 107
    • 108
    • 120
    • 121
    • 106 / 121