fxDreema

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

    Input Variables

    Tutorials by Users
    3
    3
    643
    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.
    • A
      alok last edited by

      50 examples of different types of inputs in MQL4:

      input int value1 = 10;

      input double value2 = 2.5;

      input string value3 = "Hello";

      input bool value4 = true;

      input color value5 = Blue;

      input ENUM_TIMEFRAMES value6 = PERIOD_M5;

      input ENUM_MA_METHOD value7 = MODE_SMA;

      input ENUM_APPPLIED_PRICE value8 = PRICE_OPEN;

      input ENUM_STYLES value9 = STYLE_SOLID;

      input ENUM_LINE_STYLE value10 = STYLE_DOT;

      input int value11[] = {1, 2, 3}; // Array of integers

      input double value12[] = {1.5, 2.5, 3.5}; // Array of decimals

      input string value13[] = {"Apple", "Banana", "Orange"}; // Array of strings

      input bool value14[] = {true, false, true}; // Array of booleans

      input color value15[] = {Red, Green, Yellow}; // Color array

      input int value16 = 0; // Used as a counter

      input double value17 = 0.0; // Used as accumulator

      input string value18 = ""; // Used for text input

      input bool value19 = false; // Used to activate/deactivate features

      input color value20 = Black; // Used to define colors

      input int value21 = Symbol(); // Returns the current symbol

      input double value22 = Ask; // Returns the current selling price

      input double value23 = Bid; // Returns the current purchase price

      input int value24 = Digits; // Returns the number of decimal places in the symbol

      input double value25 = Point; // Returns the pip size of the symbol

      input ENUM_TIMEFRAMES value26 = Period(); // Returns the current chart period

      input ENUM_MA_METHOD value27 = MODE_EMA; // Exponential moving average method

      input ENUM_APPLIED_PRICE value28 = PRICE_CLOSE; // Closing price applied

      input ENUM_STYLES value29 = STYLE_DASH; // Dashed line style

      input ENUM_LINE_STYLE value30 = STYLE_SOLID; // Solid line style

      input int value31 = Bars; // Returns the number of bars on the chart

      input double value32 = iClose(Symbol(), Period(), 0); //Closing value of current bar

      input string value33 = SymbolName(Symbol(), true); // Current symbol name

      input bool value34 = iRSI(Symbol(), Period(), 14, 0) > 70; // Condition based on an indicator

      input color value35 = Aqua; // Light blue color

      input int value36 = TimeCurrent(); // Returns the current time

      input double value37 = NormalizeDouble(1.23456, Digits); // Normalizes a value according to the decimal places of the symbol

      input string value38 = DoubleToStr(123.45, 2); // Converts a double to a string with two decimal places

      input bool value39 = StringLen("Hello") > 5; // Condition based on the length of a string

      input color value40 = Crimson; // Dark red color

      input int value41 = iHigh(Symbol(), Period(), 0); // Highest value of the current bar

      input double value42 = iLow(Symbol(), Period(), 0); // Lowest value of the current bar

      input string value43 = AccountName(); // Trading account name

      input bool value44 = AccountFreeMarginCheck(Symbol(), OP_BUY, 0.1); // Check free margin before opening a position

      input color value45 = DarkOrange; // Dark orange color

      input int value46 = OrdersTotal(); // Returns the total number of orders

      input double value47 = OrderOpenPrice(); // Current order opening price

      input string value48 = OrderSymbol(); // Current order symbol

      input bool value49 = OrderSelect(0, SELECT_BY_POS); // Select the first order

      input color value50 = DodgerBlue; // Bright blue color

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

        Thank you very much for sharing.

        (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
        • OntradingX
          OntradingX @alok last edited by

          @alok good job, thanks.
          You have name and value to coordinates x and y?

          Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
          Site: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Boa sorte a todos nós!

          English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
          Website: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Good luck to all of us!

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

          Online Users

          K
          S
          F
          B
          T
          E

          20
          Online

          146.6k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors