fly7680
fly7680
fly7680
Added topic Little problem calcutale percentage
I have a small problem with the operator "/" I have no compilation problems but this counters block me the strategy tester // Global scope int A= 0 ; int B= 0 ; int Total= 0 ; double Percent= 0 ; int start() { // my code Percent= (A* 100 ) /Total ; }
fly7680
Added topic Small problem whit refresh Buffer or Object
Hello to everyone, I have a small problem using this code: //--------NewBar------------ bool NewBar()   {    static datetime lastbar;    datetime curbar= Time [ 0 ];    if (lastbar!=curbar)
fly7680
Added topic String Problem in Function
Hi, I wrote a function with input parameters but I could not insert an operator as a string: void MyFunction( int Freccia , string Dir ){      //.......My code      ObjectCreate ( "Freccia" +T, OBJ_ARROW , 0
fly7680
Added topic ArrayMinumn problem!
Hi, I have a small problem with the ArrayMinum () function , because it can not read the lowest value of the matrices. Instead, if I use ArrayMaximun it works all over again. //Global Scope int m= 0 ; double CLOSE2[ 8 ]; //----------------// for (
fly7680
Added topic How to cross FiboLevel
Hi, I'm trying to write an arrow when I cross FiboLevel but I can not if ( iCustom ( Symbol (), PERIOD_CURRENT , "Heiken Ashi" , 2 , 1 ) > iCustom ( Symbol (), PERIOD_CURRENT , "Heiken Ashi" , 3 , 1 ) && iCustom ( Symbol (), PERIOD_CURRENT
fly7680
Added topic Problem position Object
Hi, I have a small problem with the correct placement of a text object . I would like to assign a number above the High of Green Heiken but the result is not optimal. In some assets it's okay and in others no but I do not understand where I'm wrong
fly7680
Added topic Array inside Array is correct?
Hi, I'm trying to figure out if what I've written is correct or not, could I have some help? The variable int O has [13] Array , so is it correct to skip it in the Y loop? Is it correct to insert Array O [Y] into Array Time [] ? Is also correct to
fly7680
Added topic ObjectCreate OBJ_FIBO (problem MOVE)
Hello, I have created the Fibonacci object without problems, but at each new Bar, the coordinates slip automatically forward of a Bar. I also inserted ObjectMove but it does not work. if (Count2== 48 ){      // coordinate
fly7680
Added topic Buffer line in candle -10
Hi, is it possible to draw the line of a buffer over the spark plug 0? I tried it like this but it does not work! for ( int I= - 10 ;I<N;I++){        if (Linee== true ){ExtMapBuffer1[I] = Up;ExtMapBuffer2[I] = Dw;}}
fly7680
Added topic #Resources problem
Hello, I'm using the #Resources command to import my logo and it works. The problem is in file ex4 because it is not embedded during compilation and if the logo is not in its folder it does not work.         
fly7680
Added topic OBJ_RECTANGLE Color Problem!
Hello , I have a little problem with superimposed color rectangles . Only when these objects are overlapped area becomes black , how can I solve? // 1° Rectangle ObjectCreate ( "Zon1" , OBJ_RECTANGLE , 0 , Time [ 0 ],price1, iTime ( 0 ,TF,index1)
fly7680
Added topic iLow() or iClose() and String?
hello at all, it is possible to replace the i low () function or iCLose () with a string ? I tried so but does not work : extern string CloseHigh = "iLow" ; // Switch iLow or iClose CloseHigh( 0 , 0 , 1 )); //iLow(0,0,1)); or iClose(0,0,1));
fly7680
Added topic OjectMove
I created a simple rectangle with 2 buffer and I would like to move the object along with the buffer , with each tick i delede and recreate the object , but I do not think is correct , there is a right way
fly7680
Added topic small problem ciclo for and increase ++
Hello everyone , I created a small loop for , to try closures equal by using a counter. Unfortunately this Vieve count performed every tick , and I can not get an accurate count . ‌        if ( iCustom ( NULL
fly7680
Added topic Png inside chart
I read various discussions and I understand that you can load a png image only through this code , however, I get this error : Unknown resource type MQL4 \ Files \ dollar . png #resource "\\Files\\dollar.png" ;      ObjectCreate
fly7680
Added topic NormalizeDouble info
Hello everyone , I'm trying to normalize the decimal places of the moving average , this code is correct or not? Even if I do not receive errors , I am not entirely sure of what is written! for (L= 0 ; L< 50 ;
fly7680
Added topic IndicatorCounted and Limit
Hello, I do not know if the number of candles on the Limit variable is the number of candles on the chart or is there a different count.     {      int limit;      int counted_bars=
fly7680
Added topic iHighest error 4051
Using iHighest I get this error but I honestly do not know what you mean //--- main loop    for ( int i = 0 ; i <= 300 ; i++)      {           
fly7680
Added topic Array Problem!
Hello everyone! I created a simple HeikenAshi pattern and every training I have to insert a horizontal line at the close up and I have to see him in the historic midnight . I can not understand , how can I add a line for each pattern that has already
fly7680
Added topic Code correct but wrong signal random error
I wrote this code with two function . As soon as I have an cross of moving averages between two candles , step to the next step where I have a for loop , which identifies a Heiken candles pattern . the signal is correct, but if I have an cross of