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
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 +
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[
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
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
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
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
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
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
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
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
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