fxDreema

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

    Posts made by karant

    • RE: Enter Previous Candle Close in a Variable

      Thank you @Xfire ans @jstap. Will read up about the algorithm and circle back if I still have any queries.

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      I've stored the close of the Crossover Candle (Candle 1 immediately upon crossover) in the variable Buy_Alert (not sure if the algo is doing that - but thats the intent).

      Then checking if any subsequent candle (respective Candle 1 from time to time) closes above the value store in Buy Alert - this is the confirmation to enter buy trade.

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      I've put the the entry and exit into separate areas.

      Still being unable to enter order. Requesting help to enter a buy trade when price closes above the crossover candle close.

      https://fxdreema.com/shared/QHpyfZ28e

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      @Xfire : I removed all the additional steps - the EA takes trades on close above MA crossover now. Thanks - was good to see the EA actually do something.

      How do I store a crossover candle close value in a variable now and enter trade when price closes above it?

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      @jstap : Yeah

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      @jstap : yes I will remove each block and try

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      @Xfire : why won’t it pass? I’m checking for a close above the close of candle which crosses over the moving average.

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      @Xfire: in block 4 my intent is to store the previous candle close in the variable High_Alert. To later use it to check for a close above this level to enter a trade.

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      I changed the last block to sell.
      Still no trades in the back test. still feel im missing something.
      https://fxdreema.com/shared/xKluEmBZ

      posted in Questions & Answers
      K
      karant
    • RE: Enter Previous Candle Close in a Variable

      @Xfire : Thank you for your response. Could you please help me understand what you mean?

      posted in Questions & Answers
      K
      karant
    • Enter Previous Candle Close in a Variable

      Hi everyone,

      I'm new here, trying to create my first EA on fxdreema.

      Here's what I want to do:

      TRADE ENTRY

      1. When price crosses above 21 EMA (high prices), mark the candle close (variable : High_Alert) i.e store it in a variable.
      2. When any subsequent candle closes above the High_Alert, ENTER THE BUY TRADE.

      TRADE EXIT
      3) When price crosses below 21 EMA (low prices), mark the candle close (variable : Low_Alert) i.e. store it in a variable.
      4) When any subsequent candle closes below the Low_Alert, EXIT THE BUY TRADE.

      Here's the project I've created to execute that.

      https://fxdreema.com/shared/OzkjRXSHc

      However, when I run a backtest with this EA, it doesnt enter any trades.

      Can someone please help me understand what I'm missing here.

      Thanks in advace!

      posted in Questions & Answers
      K
      karant
    • 1 / 1