- Search Energy EXCH
- 26 Results
- MichaelMano replied May 11, 2021
Got it thanks
- MichaelMano replied May 10, 2021
Hi, what will happen if the New_Time variable is not static? what difference adding static would make, especially that we are assigning New_Time with the new value of Time[0] in "New_Time=Time[0];" so it will be updated I am just trying to ...
- MichaelMano replied Apr 19, 2021
that helped a lot, thank you so much
- MichaelMano replied Apr 19, 2021
Can you help me understand why I have to resize the array and fill it with some default values ? or would you point out a material to me to read about it as when I checked the mql4 documentation I found how to do it but not when I need to do it? ...
- MichaelMano replied Apr 19, 2021
Thank you for the advice,
- MichaelMano replied Apr 19, 2021
Yes you are right I missed the square bracket in this line but surprisingly it compiled correctly if(High[CandleRef]>High[CandleRef-1]&& High[CandleRef]>High[CandleRef+1]) I was trying to get the peak points like fractals but not with 2 bars but ...
- MichaelMano replied Apr 11, 2021
Yes Q2 is subset of Q1 and the value of sh is going to be reduced in this subset of Q2 return(DemLow(cnt,sh-1)); thank you so much
- MichaelMano replied Apr 9, 2021
Thank you so much
- MichaelMano replied Apr 9, 2021
but these 4 lines double ValueSLMA = iMA(Symbol(),0,PeriodSLMA,MA_Shift,MA_Method,MA_AppliedPrice,i); double ValueFAMA = iMA(Symbol(),0,PeriodFAMA,MA_Shift,MA_Method,MA_AppliedPrice,i); double ValueSLMA_1 = ...
- MichaelMano replied Apr 2, 2021
I did not know how to do it as the problem turned out to be in the code of the function that I was trying to create and the problem is sorted out by deleting these 2 line in my code of the function else{return false;} in both conditions if (type ...
- MichaelMano replied Apr 2, 2021
Thank you for your advice, There is one more thing I need your help with to understand if you do not mind I had a problem with the EA that when I used the function created, the EA would execute only the buy orders and for the sell order it sends to ...
- MichaelMano replied Mar 30, 2021
it compiled correctly when I did as you said, I understood that it was expecting to state the condition for the rest of value of type. but what I can not understand that the return false although I did not mention when it will be false bool ...
- MichaelMano replied Mar 30, 2021
thanks you so much
- MichaelMano replied Mar 30, 2021
Yes the warning has disappeared, but would you help me understand why I should assign the OrderSend function to an int variable so I wont get this warning? as I did not get the same warning for OrdersTotal() and I want to know the difference between ...
- MichaelMano replied Mar 25, 2021
Thank you so much
- MichaelMano replied Mar 12, 2021
I am enlighted, you break it down perfectly, thank you so much
- MichaelMano replied Mar 12, 2021
Thank you sir for your help, very helpful.
- MichaelMano replied Mar 11, 2021
yes, is not variable is space to store a data in while the value is constant because it is value
- MichaelMano replied Mar 11, 2021
I understand your explanation perfectly sir, what I am struggling with sir, is that the same "resulttotal" has been interpreted differently once as a variable and the second time as a value, which I do not understand so if we are saying resulttotal ...