fxDreema

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

    Close Chart with EA

    Questions & Answers
    2
    2
    686
    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.
    • T
      tim_wells last edited by

      Hi

      Is it possible to make an EA that closes a chart if certain conditions are met?

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        with custom code block, with this code:

        ChartClose(0);

        0 is chart ID (can be 0, 1, x)

        there are many functions, like ChartFirst, or ChartNext, using with you can find right ID for close based on some conditions (like specific text in chart) 😄 https://docs.mql4.com/chart_operations/chartnext ...

        Between trading and gambling is a very small gap, be careful.

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

        Online Users

        S
        E
        O
        J
        F

        23
        Online

        146.9k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors