Michael / Profile
Friends
6
Requests
Outgoing
Michael
Added topic Trading View and MT4
Hello Everyone, I've noticed a discrepancy between the prices on Forex.com when viewed on TradingView and those on MT4, particularly the open and close prices, even though both platforms are from the same broker. My trading strategy is
Michael
Added topic I need to understand this please
I have global variable that is used in function, then I use script to test the function result using the alert function Alert("Variable","Function()); Alert(" Function ()","Variable"); but when I alert the result of the function and the global
Michael
Added topic ObjectGetValueByShift
Hello everyone. I am trying to code buy order execution when the Bid reach above a price that ObjectGetValueByShift will get the object is a Trendline double Price = ObjectGetValueByShift( "Trendline" , 0 );
Michael
Added topic My Code Compiled correctly but I have a problem with it
I was trying to code my own EA and created some custom function, the issue that I am facing is as if the custom function that I have is not being read in the EA if the variable that I have assigned this function to is initialized with -1
Michael
Added topic My EA is running very slow on MT4 Tester
My EA is operating very slow on MT4 Tester, it contains loops and nested loops, I do not know if that would slow it down that much, Can I save the data of the loops in functions in array and would that make a difference in speed of the tester? thanks
Michael
Added topic the code compiled correctly, but something when wrong
I have five orders on the chart, I am making a loop to select order to make some modification, it did not work so I print the order ticket along with its index to check, and I have noticed this when these 2 line where here the it prints as follows
Michael
Added topic Can "return" operator exit loop in user-defined function and return the required value?
Can "return" operator exit loop in user-defined function and return the required value? or there is no way but to use "break" operator to exit the loop and then "return" operator to terminate the function and get the required value? Thanks
Michael
Added topic Need help to understand this please
I need some advice for the below code if you please, 1- for some reason, I get a note of " array out of range " in Mt4 expert journal 2- although Period_MA is external variable and I set it to 20; but when I am testing my code by changing for (x=i;
Michael
Added topic I need help with my function please
double Recent_TD_Point[]; for ( int i= 0 ;i< 3000 ;i++) { if (High_TD_Point_Value(i)> 0 ){ Recent_TD_Point[i]=High_TD_Point_Value(i);
Michael
Added topic What does “warning: not all control paths return a value” mean? as I received this error after compiling
int TradeEntry( int Type){ if (Type == 0 ){ double BTP = Ask + (TakeProfit * Point ); double BSL = Ask - (StopLoss * Point );
: