fxDreema

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

    Posts made by jstap

    • RE: point to exact number of chart

      By shadow you mean wick? Create a project doing the first part, then when working add the second. Use backtest and add a shared link if something's not working.

      posted in Questions & Answers
      jstap
      jstap
    • RE: ea review tick data suite

      Maybe a higher power computer, but simply is just waiting. In MT5 you can pay to use other processers on there network.

      posted in Questions & Answers
      jstap
      jstap
    • RE: NEW EA S

      This is a lot more than what you need but it will show you how: https://fxdreema.com/shared/zIUg2ME8e

      posted in Questions & Answers
      jstap
      jstap
    • RE: Store current variables on deinit or Closing MT4 or etc.

      This will show you how to achieve: https://fxdreema.com/forum/topic/20550/save-variables-constants-if-terminal-closes-crashes

      posted in Questions & Answers
      jstap
      jstap
    • RE: When MetaTrader is restarted, the EA opens new positions with 0.01 lot

      If trade is running use that, if not save the values in a global variable: https://fxdreema.com/forum/topic/20550/save-variables-constants-if-terminal-closes-crashes

      posted in Questions & Answers
      jstap
      jstap
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Sort of, but what is this modify doing?

      posted in Questions & Answers
      jstap
      jstap
    • RE: Distance from last open and only buy/sell above/below last open trade

      So up to a certain block it works, remove blocks and backtest, then add a block and backtest, then add more and backtest. By doing this you can find a single block that's causing trouble. Ask here if you find something not working.

      posted in Questions & Answers
      jstap
      jstap
    • Save variables/constants if terminal closes/crashes

      Recently I have seen many people asking how to have the EA to remember the values that were used before.

      This link will show how to achieve this, this is for constants, but a variable can be stored in the same way, and MT5 is the same:

      might not work as needed, see below
      https://fxdreema.com/shared/tnu6XI6od

      I had a thought that in a crash this might not work, so I added variables and set them to amend oninit

      https://fxdreema.com/shared/u8jcOuRVc

      posted in Tutorials by Users
      jstap
      jstap
    • RE: Distance from last open and only buy/sell above/below last open trade

      I don't mind helping, but chat GPT is better at explaining code than me, if I add code to my project I do it one section at a time. Everything you have here you don't need code for, and your last project nearly worked. When I started using FX I would create 1 thing, then backtest before adding another. Get 1 thing working, and if not ask why. As you did, so start by removing 1 of your sell blocks and see what happens.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Distance from last open and only buy/sell above/below last open trade

      Add to volume creates a new trade, so you need a sell block or an add block. One creates a parent trade and the other a child trade:
      image.png

      posted in Questions & Answers
      jstap
      jstap
    • RE: how to place buy trade at 09:30 am and 10:30 am

      biztet has a good point, if the 1st is still running you won't get a second, in this case, use 2 no trade blocks with different groups.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Pls help me, the remote destop window update so i want the ea run as the previous latest value was

      Use global variables, if it is just a constant, condition constant != to global variable - set global variable to constant. Here is some workings with it: https://fxdreema.com/shared/7yZetp7Dd

      posted in Questions & Answers
      jstap
      jstap
    • RE: how to place buy trade at 09:30 am and 10:30 am

      I am not sure why this does not work, although at times this once per day has not worked for me. Try using a time filter block, and setting the time to a 1-minute range, like start 09:30 and stop 09:31

      posted in Questions & Answers
      jstap
      jstap
    • RE: a simple order not working

      Then you need to set the group in all blocks:
      image.png

      posted in Questions & Answers
      jstap
      jstap
    • RE: candle count

      This does, the -1 is because only 1 cross has happened: https://fxdreema.com/shared/gP74GFdic
      image.png

      posted in Questions & Answers
      jstap
      jstap
    • RE: historical data

      yes and is the same for sells, because the code in fx assumes + and - are reversed for sells:

      image.png

      posted in Questions & Answers
      jstap
      jstap
    • RE: I NEED TO LOGIC

      Put that code in one of the variable boxes (white, orange, gray), put the variable in a comment and watch what happens.

      posted in Questions & Answers
      jstap
      jstap
    • RE: historical data

      In a buy if you make the pips offset a - it will place a limit below the current price.

      posted in Questions & Answers
      jstap
      jstap
    • RE: historical data

      It is quite simple, if the price is at 1000 and you place a buy and sell at 1050 the bay will be a stop and the sell will be a limit, if you place a buy and sell at 9950 the buy will be a limit and the sell will be a stop

      posted in Questions & Answers
      jstap
      jstap
    • RE: historical data

      Not really, on your chart you have a bid and ask price, this is how your broker makes money, buy or sell, and when you open a position you are at a loss. Whether a limit or stop the trade will open in a loss, so a buy will open at the ask even though price is on the bid so you have to cover this distance before you are in profit.

      posted in Questions & Answers
      jstap
      jstap
    • 1
    • 2
    • 129
    • 130
    • 131
    • 132
    • 133
    • 469
    • 470
    • 131 / 470