fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Problem with making simple bot

    Questions & Answers
    2
    2
    328
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fre10 last edited by Fre10

      Hello,

      I want to make a bot that can open long or short positions with the following conditions:

      • EMA 5 crosses above EMA 12 and parabolic sar is under candle -> open a long position
      • EMA 5 crosses below EMA 12 - > and parabolic sar is above candle -> open a short position

      I also want a trailing stop so the positions close in profit.

      Every time there is a crossover from the EMA it has to open a position; If the trade is open it has to close it and if there is no trade it has to open a position.

      I tried to make it, but if i tested it, the bot doesn't open every cross of the EMA;

      Can someone help me?

      thx

      0_1581069635739_fxdreema.PNG

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        Firstly, I strongly recommend you to specify candle ID 1 in all condition blocks. Having candle ID 0 as now can create weird results.

        Your 'no trade' block is stopping ALL trades once a buy or a sell is opened. This means that if a buy is open, no sell will be opened until the buy is closed. Is that intended? If not, two different 'no trade' blocks should be used, one for buys and another one for sells.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        A
        5
        V
        G
        E
        M
        E

        18
        Online

        146.9k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors