fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. markmc
    3. Topics
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 11
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by markmc

    • M

      Question re MA Cross
      Questions & Answers • • markmc

      2
      0
      Votes
      2
      Posts
      299
      Views

      fxDreema

      Well, you can try it. If it works - work with it.

    • M

      Pending order question
      Questions & Answers • • markmc

      4
      0
      Votes
      4
      Posts
      703
      Views

      P

      OK , understood ... Can also be negative , trailing pending too. Works fine(demo) , no need to worry order type.
      Only set distance(offset) to open price ... Fxdreema are awesame 🙂

    • M

      Change colour of currency pair tab
      Questions & Answers • • markmc

      2
      0
      Votes
      2
      Posts
      321
      Views

      fxDreema

      I don't know for MQL4/MQL5 function to do that

    • M

      Problem with RSI EA
      Questions & Answers • • markmc

      4
      0
      Votes
      4
      Posts
      2444
      Views

      fxDreema

      I think you need to know (and feel) how things work. Indicators are arrays of data, what the EA knows are all indicator points in the past - there is 1 point with value for every single candle. So RSI can move up/down in the current candle, but when that candle ends, RSI freezes at it's last state and only this value remains.

      So how to know when RSI goes from 75 down to 70? It depends, for what time? The easiest thing is to look at the previous candle and the current candle. Or in the last X previous candles? Or you don't care if it reached 75, you may want it to just cross the 70 mark, which can be detected easily - by looking at what was the last RSI value and comparing it to the current value. Or Looking at the value in the previous tick and comparing it to the current tick (if it was above 70 just a while ago and now it is below 70, then it crossed below). The last thing is also a little bit tricky, because this event may repeat few times in few seconds, because the price always moves up and down.

      In short - it depends. What I posted above is some easy way to detect such a crossovers, but you may have different requirements, or none, as very often we don't know what we really want, or the thing we think we want can be made in much simpler way.

      So... what calculations do you need exactly? But looking at your project... I don't know it looks too weird for me to use tens of blocks to make something that can be explained simply as "crossover".

      I can suggest to play with Condition block and blocks in "Indicators" category a little bit. For example, place "Indicator rise" -> "Draw arrow" and see what will happen. Then try something similar with another block. Also use "Indicator tester" to see how indicators work, what values they give to the EA. All this in Visual backtest mode 🙂

    • M

      How to write to a csv file and where to find it?
      Questions & Answers • • markmc

      4
      0
      Votes
      4
      Posts
      871
      Views

      fxDreema

      MetaTrader 4\tester\files

    • M

      How to open new trade in the same direction when hit SL
      Questions & Answers • • markmc

      10
      0
      Votes
      10
      Posts
      1392
      Views

      M

      Huge thanks for your reply - As I could not work out how to do this I realised that all I want is a reporting outlet so rather than creating different Magic Numbers for each time frame trade - I figured that all I needed to do was to add to "On Trade" a file write to excel that has one of the properties as Market Properties > Time Frame

      I have now added this to my EA and have added to charts so will see how this runs next week when the marker re opens

      Cheers

    • 1 / 1