mo798ua
mo798ua
Friends 2
mo798ua
Added topic log discrepancy
Hi guys , i  exhausted all my debugging skills to try to wrap my mind around this issue but i could not solve it, i found  discrepancy in the log so i cant really trust it, for example if im looping from 200 to 1 , the log only show wen
mo798ua
Added topic converting to mql4
hi im trying to convert indicator from pine script to mql4  length = input ( 14 ),morph = input ( 0.9 ,minval= 0 ,maxval= 1 ),mult = input ( 1 .),flatten = input ( 1 .) //---- x = n y = close m(a,b) =>     p = morph * a +
mo798ua
Added topic how to add external value to array
hi im trying to add some external bool var to array i dont want to use the array resize meathod because it will shrink my array  if (M1)    {    ArrayResize (TimeFrame, ArraySize (TimeFrame) + 1 )    TimeFrame[
mo798ua
Added topic How to convert string to bool
Hi i want to ask how to convert string to bool something like this  bool trade_m15=true; String trade=StringConcatenate(“trade_m”,Period()) bool test = trade  What im basically trying-to attempt is i have array of time frames and i want to
mo798ua
Added topic this is weird
hi guys i have coded this ea and it work fine to some dgree m i been trying for the couble of days to figure out what is wrong bur i cant find it m i tried using some print statment in attempt to find the error but no luch , i dont even get ordersenf
mo798ua
Added topic modyifing orders
hi guys , im writing function to move stop loss to break even and close percentage of the order im geting errors in the ordermodify and orderclose opreator when i print the resuilts in journal i get the orderlot()=0.0 before i even issue the
mo798ua
Added topic strategy tester act funny
can any one please expalin what is going on i have limit order the price pull backe below them and yet theu are not triggered so weird , i dont think it is my expert issue becuase it send the order with no issue any help will be appritiated thanks
mo798ua
Added topic ERROR 112
hi guys  i have this error hunting me in mql4 , i tried searching for some solution' but found no luck i tried to compile it again in new terminal and and new computer as some one commented but found no luck can any body please help
mo798ua
Added topic error 112
i hit wall with this errror my code compile with no other errors ,the error is internal error #112 0 0, the only piece of info about it is in mql4 page which it said  Double quote (") omitted any help will be appreciated ,thx
mo798ua
Added topic StategyTester quastion
Hi i have question can i code my ea when it is on startegy tester if it open order it pause ? thabks
mo798ua
Added topic identifying variable issue mql4
hi im trying to find the lowest of last 8 bars , if i put it like this  double x=Low[ iLowest ( Symbol (), 0 , MODE_LOW , 8 , 1 )]; double xx=Low[ 1 ]; Print ( "LOWEST OUT OF 8" ,x); Print (Low[ 1 ]); the x print fine ,but the xx print as 0.0
mo798ua
Added topic mql4 issues
Hi im writing an ea to check if moving average crossed then to check if the trigger candle is the highest or lowest candle out of 8 , there is only chance for two candles max after trigger to be swing high if not the trade will be false , but my code
mo798ua
Added topic technical EXPERT issues
hi im having issue i wrote a function isthereactiveorder() if there is a buy dont open a buy if there is sell dont open sell it seems to not working, if any one can provide any guides i well be thankful #property copyright "Copyright 2020, MetaQuotes
mo798ua
Added topic Operator ERROR
HI im having a bit of problem im facing these errros  ';' - unexpected token )' - unexpected token 'stopp' - some operator expected if any one can give hand i will be thankful void opennew( int ordertype){     RefreshRates();
mo798ua
Added topic errors in my ea
hi guys i wrote this ea and i have a lot of errors for some reason i dont know i used to define my function outside oftick() errorless but for the first time i get error because defining functions can some one help please
mo798ua
Added topic Unstoppable orders
Hi there i have question UPDATE  i been able to came up with a solution but it seems the strategy tester crash when i uplode the advisor to it , just to keep up with what it is going on this is my attempt to open only one buy order above kijun
mo798ua
Added topic i cant generate order
hi there  i am new to mql4 i wrote this simple expert the idea is i want to see if candle close price is above kijen sen i want to generate a buy order but cant generate any orders in strategy tester   anyone can give clue here thanks for
mo798ua
Registered at MQL5.community