fxDreema

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

    Posts made by ramin1768

    • RE: گروه روبومستر سلیمانی خواه

      سلام.
      یه ربات درست کردم که با چک کردن سود ترید رو ببنده
      روی بک تست به خوبی کار میکنه ولی روی دمو وقتی به اون مقدار سود میرسه ترید رو نمیبنده.
      مشکل از کجا میتونه باشه
      Screenshot 2023-11-15 145817.png

      posted in Questions & Answers
      R
      ramin1768
    • RE: "check profit (unrealized)" doesn't work on demo account

      Screenshot 2023-11-15 145817.png

      posted in Questions & Answers
      R
      ramin1768
    • "check profit (unrealized)" doesn't work on demo account

      Hi. I seek guidance regarding an issue I've encountered with an EA I've developed. The EA is designed to close trades based on a predefined profit target (Money) and has demonstrated successful functionality during backtesting.
      However, when I conducted tests on a demo account, I observed that the EA does not close trades.

      posted in Questions & Answers
      R
      ramin1768
    • RE: گروه روبومستر سلیمانی خواه

      @mehrdad-zaiemi said in گروه روبومستر سلیمانی خواه:

      دوستان سلام . میدونم این سوال مربوط به اینجا نیست ولی گفتم شاید بتونید راهنمایی کنید . با این دیتاهایی که داریم همه استراتژی ها سود میدن ولی با دیتای تمیز همه شون ضررمیشن . اون سایتی هم که سولی تو وبینار گفت تیک دیتا سویت . اونم به ایرانیا دیتا نمیفروشه . دیتا تمیز از کجا پیدا کنیم ؟

      سلام. مطلب شما رو دیدم و به شک افتادم که با ایرانیا واقعا کار میکنن یا نه. به خاطر همین بهشون تیکت زدم و گویا فقط فری تریال رو به ایرانیا بستن و بقیش مشکلی نیست و میشه خرید کرد
      Screenshot 2023-08-01 125433.png

      posted in Questions & Answers
      R
      ramin1768
    • RE: Lot as per variable

      @ramin1768 said in Lot as per variable:

      @l-andorrà said in Lot as per variable:

      That depends on the calculations involved. What do you exactly need?

      I wanted to discuss how to increase the initial lot size in a martingale system based on equity. Let's say I have a balance of $1000. My plan is to use 2 percent of my balance as the initial lot volume. Could you please guide me on how to calculate 2 percent of my balance into the lot size on EA?

      any suggestion?

      posted in Questions & Answers
      R
      ramin1768
    • RE: Lot as per variable

      @l-andorrà said in Lot as per variable:

      That depends on the calculations involved. What do you exactly need?

      I wanted to discuss how to increase the initial lot size in a martingale system based on equity. Let's say I have a balance of $1000. My plan is to use 2 percent of my balance as the initial lot volume. Could you please guide me on how to calculate 2 percent of my balance into the lot size on EA?

      posted in Questions & Answers
      R
      ramin1768
    • RE: Lot as per variable

      Help pls!

      posted in Questions & Answers
      R
      ramin1768
    • RE: گروه روبومستر سلیمانی خواه

      @ramin1768 said in گروه روبومستر سلیمانی خواه:

      @Mostafataherzadeh10 said in گروه روبومستر سلیمانی خواه:

      @ramin1768 باید یک متغیر تعریف کنی بعد بزاری جای لات مارتینگل در بلوک فرمول میتونی بگی بیاد مقدار اکویتی بگیره و مثلا 2 درصد حساب کنه بریزه داخل متغیری که تعریف کردی

      ممنون بابت راهنمایی. الان مشکل دیگه اینه که چجوری حساب کنم مقدار 100 دلارم میشه انقدر لات.

      مثلا 1000 دلار دارم که یک درصدش شده 10 دلار. حالا چجوری ده دلار رو به لات تبدیل کنم؟
      چون بستگی به جفت ارزت یا اینکه طلاس یا ... فرق میکنه ضریبش

      دوستان یه کمکی در این رابطه میکنید لطفا

      posted in Questions & Answers
      R
      ramin1768
    • Lot as per variable

      Hello,

      I have a variable as per money that needs to be converted to a lot. Could you please guide me on how to achieve this conversion?

      Thank you!

      posted in Questions & Answers
      R
      ramin1768
    • RE: گروه روبومستر سلیمانی خواه

      @Mostafataherzadeh10 said in گروه روبومستر سلیمانی خواه:

      @ramin1768 باید یک متغیر تعریف کنی بعد بزاری جای لات مارتینگل در بلوک فرمول میتونی بگی بیاد مقدار اکویتی بگیره و مثلا 2 درصد حساب کنه بریزه داخل متغیری که تعریف کردی

      ممنون بابت راهنمایی. الان مشکل دیگه اینه که چجوری حساب کنم مقدار 100 دلارم میشه انقدر لات.

      مثلا 1000 دلار دارم که یک درصدش شده 10 دلار. حالا چجوری ده دلار رو به لات تبدیل کنم؟
      چون بستگی به جفت ارزت یا اینکه طلاس یا ... فرق میکنه ضریبش

      posted in Questions & Answers
      R
      ramin1768
    • RE: گروه روبومستر سلیمانی خواه

      سلام دوستان.
      چطور مارتینگل رو بر اساس درصد اکوییتی یا بالانس استفاده کنیم؟
      در قسمت مانی منیجمنت اگر مارتینگل انتخاب بشه فقط میشه لات استفاده کرد.

      posted in Questions & Answers
      R
      ramin1768
    • RE: Round the number / Remainder division

      Final results are:
      1-For rounding a variable:
      Use code : DoubleToString(variable,2);
      2- For finding remainder division
      Use code: MathMod(variable1,variable2);

      For using codes in block: Use "Value" & "Text(code input)"

      Thanks everyone for helping me.

      posted in Questions & Answers
      R
      ramin1768
    • RE: Round the number / Remainder division

      @Pheaktra-Capo Thank you. It solved my problem.

      posted in Questions & Answers
      R
      ramin1768
    • RE: Round the number / Remainder division

      @jstap said in Round the number / Remainder division:

      You just need to add the semi colon:
      image.png

      Thanks a lot. another problem is the result of variable "numbers" through the comment block is the same as before & not affected by custom mql code.
      How can I replace the result of DoubleToString(numbers,2); to "numbers" variable?

      posted in Questions & Answers
      R
      ramin1768
    • RE: Round the number / Remainder division

      @jstap said in Round the number / Remainder division:

      This code will cut the number of 0.000 from the decimel, DoubleToString(variable,2);

      @Pheaktra-Capo said in Round the number / Remainder division:

      @jstap add on brother jstap, i can share some example
      DoubleToString(AccountEquity(),2)
      This will round the result number into 2decimal. If you need 3 decimal, use DoubleToString(AccountEquity(),3)

      Also this code doesn't work when I add it to "custom mql code" block.
      could you check below project & guide me what is the mistake:
      https://fxdreema.com/shared/4AcP0ko3b

      posted in Questions & Answers
      R
      ramin1768
    • RE: Round the number / Remainder division

      @jstap said in Round the number / Remainder division:

      Yes it's possible something like this will put the result in to the variable, if (First>Second) {result=First-Second}
      else {result=Second-First;}

      This code will cut the number of 0.000 from the decimel, DoubleToString(variable,2);

      Would you please check below project regarding remainder of division between 2 variables. I copied the code in "custom mql code" block but it didn't work.
      Also I guess the code passes first minus second & vice versa but I need remainder of division between 2 variables. Example: remainder of division between 10 & 4 is 2.
      https://fxdreema.com/shared/PwUgOSQlb

      posted in Questions & Answers
      R
      ramin1768
    • Round the number / Remainder division

      Hi everyone,

      I've been trying to find information on two specific topics but couldn't locate any relevant blocks.

      Rounding a variable:
      I'm interested in rounding a number stored in a variable. Is it possible to achieve this using custom MQL code, or are there other ways to do it?

      Performing remainder division in custom MQL code:
      I have three variables named "First," "Second," and "result." I'm trying to find a way to calculate the remainder of the division between "First" and "Second" and store the result in the "result" variable. Could someone please guide me on how to write "First % Second" in "result"?

      Thank you so much for your help in advance!

      posted in Questions & Answers
      R
      ramin1768
    • 1 / 1