Igor Muratov / Profile
- Information
1 year
experience
|
0
products
|
0
demo versions
|
0
jobs
|
0
signals
|
0
subscribers
|
Igor Muratov
Added topic How to enable/disable these candles?
I want to add ON/OFF button,I created the button but I do not know how to type the script which will enable/disable my candles. What should I cling to? #property copyright "Æèòíåâ Ìèõàèë aka MikeZTN" #property link
Igor Muratov
Added topic How to put here profit for 1 day?
I dont want it be profit for current opened trades (if I type AccountInfoDouble( ACCOUNT_PROFIT ). I want overall daily profit. How can I do that? Comment ( StringFormat ( "Profit = %.2f" ), // what next
Igor Muratov
Added topic "expressions are not allowed on a global scope"
Does it mean I should write the code under the event handling function? I'm doing it here, but still error. void OnTick () { double takeProfit = NormalizeDouble ( Point *TakeProfitS, Digits ); double stopLoss = NormalizeDouble ( Point *StopLossS
Igor Muratov
Added topic These numbers are frozen (screenshot). They are not moving while the trade is being opened.
int OnInit () { //--- indicator buffers mapping Comment ( StringFormat ( "Equity = %.2f; Balance = %.2f; Free Margin = %.2f" , AccountInfoDouble ( ACCOUNT_EQUITY ), AccountInfoDouble ( ACCOUNT_BALANCE ), AccountInfoDouble (
Igor Muratov
Added topic how to put strings (AccountBalance && AccountEquity) in a row?
I found the multiple line section in documentation, but didn't understand how to separate functions. Comment ( StringFormat ( "Equity is %.2f" , AccountEquity()));
Igor Muratov
Added topic As soon as the indicator is removed from the symbol, the inscription remains. Tell me how to fix it?
(Screenshot below)
Igor Muratov
Added topic Rounding is not working
I checked with MathRound, NormalizeDouble and Round. Nothing works. I want to round my AccountEquity. How? int OnInit () { //--- indicator buffers mapping Comment ( StringFormat ( "Equity is %f" , AccountEquity()));
Igor Muratov
Added topic I'm tired of these infinite errors. What's wrong here?
//+------------------------------------------------------------------+
Igor Muratov
Added topic Command for trade automatic closing when (condition)
Please tell me an example of a script or a documentation page so that I can understand how I can write a command so that, for example, after the price reverses towards the stop loss , the adviser will close this deal when it reaches -x% of the
Igor Muratov
Added topic What does OnInit, OnDeinit and OnTick mean?
What does each of these mean? int OnInit () void OnDeinit ( const int reason) void OnTick () I looked all over the Internet, or I didn’t find the answer or it’s very difficult for a programmer with zero experience. Please answer in the most
Igor Muratov
Added topic How to place comments in a row?
int OnInit () { Comment ( "Today is" , DayOfWeek()); Comment ( "Balance =" , AccountBalance()); return ( INIT_SUCCEEDED ); } After entering this code I get this: (screenshot) I want "Today is" and "Balance"
Igor Muratov
Added topic I can not test the EA for a year
Hi, I can not test the advisor for a year, when I enter the date 2019.01.01 - 2021.01.01, then for some reason the visualization has been going on since December 9, 2020. The metatrader is naked, didn’t set up anything, just downloaded MT4
: