fxDreema

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

    Topics created by soroushsafizadeh

    • S

      enum constant
      Questions & Answers • • soroushsafizadeh

      3
      0
      Votes
      3
      Posts
      345
      Views

      I

      This has been arnswered well in this post already. You should be able to make progress by studying that some more, simple enough when you get the hang of it.

      https://fxdreema.com/forum/topic/16167/easy-way-to-make-enum

      Looks like your constant is set wrong, your conditions are requesting 0 and 1 as identifiers so change your "exit_mode" from "fixed" to a "0" or "1".

      Also no spaces in your "exit_mode_list" make it so it is like this "{fixed,break_even,trailing_stop}

      a3afd2ff-ef20-440d-a9b8-7e371688d456-image.png

    • S

      enum constant
      Questions & Answers • • soroushsafizadeh

      6
      0
      Votes
      6
      Posts
      401
      Views

      jstap

      This might help: https://fxdreema.com/shared/fSxfa5K5e

    • 1 / 1