fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. jstap
    3. Best
    • Profile
    • Following 2
    • Followers 222
    • Topics 37
    • Posts 9375
    • Best 1086
    • Controversial 23
    • Groups 0

    Best posts made by jstap

    • RE: How do I set a Percentage loss

      @jbillionz Equity is constantly changing, I would record the balance at the start of placing the first trade, balance / 100 * 2 will give you 2%, place the trades with a group if you need to distinguish from other running trades, check the profit of the 2 trades, then close if this number is reached

      posted in Questions & Answers
      jstap
      jstap
    • RE: Timeframe as input

      it's enum, add how mql5 says: https://docs.mql4.com/constants/chartconstants/enum_timeframes

      posted in Questions & Answers
      jstap
      jstap
    • RE: Do EAs with a lot of coding execute slower ?

      yes but it depends what happens where, if you have 1000's of lines of code the EA will likely run slightly slower, but if only a few of the lines are on tick it may still run quick (on tick happen constantly so doing too much on tick uses a lot of computer remorse's)

      posted in Questions & Answers
      jstap
      jstap
    • RE: Blocks for "bidding price"

      pink block for each trade - many blocks like modify variable, get the price of the trade/order with a loop. If you need more help on how to get, let me know and I'll give you some help.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Where are comments printed now?

      This compiles but does use Print(), not tested so give it a try. I will put everything you need below:

      msedge_wv33nh08N5.png

      Settings:
      LogToConsole(max_win, total);

      ~next~

      Global variables, includes:
      double total = 0;
      double max_win = 0;
      int lastLogDay = -1;

      Custom function:
      // Logs values to the Experts tab
      void LogToConsole(double max_win, double total)
      {
      Print("Logging values → Max win: ", DoubleToString(max_win, 2),
      ", Total: ", DoubleToString(total, 2));
      }

      msedge_5louQxM4p1.png

      posted in Questions & Answers
      jstap
      jstap
    • RE: 2 variables in 1 text output

      Something like this will do it, just replace words with the relevant ones:

      msedge_8PSrQilrg6.png

      posted in Questions & Answers
      jstap
      jstap
    • RE: How to get the Average Value of the Indicator for nBars

      Comment blocks can be above or below, in fact any block works above or below, you just need to ensure what is above won't affect the block below. If a comment is below a no trade block, it won't work once a trade is placed, but above it will, it will work before the trade is open, and while it's open. Possibly it's 1 tick behind, but this is unnoticeable.

      posted in Questions & Answers
      jstap
      jstap
    • RE: price value of horizontal line into a variable

      use the name - modify variables with line name using object on chart

      posted in Questions & Answers
      jstap
      jstap
    • RE: price value of horizontal line into a variable

      when you click on the object does it daw the line? Look in your object list, probably adding a number to the end, so object on chart won't fine it.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Compile error occur . Pls help me how to fix.

      This makes sense 🙂 why error said "constant" expected

      posted in Questions & Answers
      jstap
      jstap
    • RE: Ident current timeframe (MT5)

      Created this a long time ago, but this should do it: https://fxdreema.com/shared/LpSPypV5

      posted in Questions & Answers
      jstap
      jstap
    • RE: for each position loop not ending

      @tipsywisdom You can have blue blocks above pink, generally it is better not to but if being used as a switch you can.

      posted in Bug Reports
      jstap
      jstap
    • RE: ATR pips

      @l-andorrà No problem, this picture shows the missing line for the 4th digit.
      0_1625052390847_Screenshot (424).png

      posted in Tutorials by Users
      jstap
      jstap
    • RE: How to EA draw an indicator on the chart automatic?

      I could be wrong but, any indicators & chart settings I want to use with EA I save as template so I can add in a couple of clicks, there is a block called apply template which would probably do this for you, also this post link text may help.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Why showing old block settings variables on strategy tester ?

      @walter-0 Sorry, I can't help you.

      posted in Bug Reports
      jstap
      jstap
    • RE: Finding Doji Candles

      @supersako If anyone clicks your link and then MQ5 button they will get your exact EA fully working, this will also work for MT4 people just need to change the no position blocks for no trade blocks.

      posted in Tutorials by Users
      jstap
      jstap
    • RE: Get the Current Symbol Based On Manual Trades Ordered

      I am not 100% sure but modify stop needs a pink for each trade above and not be in-between purple and buy, normally best to have pink's alone. In the purple block you have symbol, you can set this to any so it will work from all, you also have this in buy block so, would work with any selected, you also have a controlling block called set market for next blocks. If you test with a combination of these I am sure you will be able to achieve what is required. Hope this helps.

      posted in Questions & Answers
      jstap
      jstap
    • RE: FXdreema error or mine?

      @alphaomega I am unsure but you could try removing the candle ID for the line, may make no difference but worth a shot

      posted in Bug Reports
      jstap
      jstap
    • RE: Finding Doji Candles

      @supersako Hope this helps people, have added formula block so if body is =< total, by taking total, dividing by 100, multiplying by doji percent constant. I haven't tried tried your project, just added to to yours, using defined maths is how I prefer to do things.link text

      posted in Tutorials by Users
      jstap
      jstap
    • RE: Getting values of indicator from spesific dates

      @pilot45qf 0_1625924784496_Screenshot (438).png

      link text

      Between the picture and link you will see how to get the candle ID from date/time and how to get the RSI value from that ID, you can then use the ID variable to get whatever values you need.

      Hope this helps

      posted in Questions & Answers
      jstap
      jstap
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 54
    • 55
    • 4 / 55