faustf
faustf
faustf
Added topic how compare a time frame ?
hi guys  i try to compare  the time frame  for exclude 3 type of time frame  but not  work i tryed also with use  a second like but nothing , whats wrong ? sinput ENUM_TIMEFRAMES TimeFrameChoice= PERIOD_CURRENT ; //
faustf
Added topic if and or value required ?? hwy?
hi guys  i have this part of script return me error '!=' - l-value required    but  why i used it sinput ENUM_TIMEFRAMES TimeFrameChoice= PERIOD_CURRENT ; // Timeframe void OnInit ()   { if ((TimeFrameChoice!=
faustf
Added topic question about external program
hi guys  exist some tutorial or simple explae for comunicate MT4 with external program ? example i  want create a  indicator  attach over  3 or 4 cross and if appen somthing in cros send me data  in my external program
faustf
Added topic set time frame when add indicator
hi guys  exist a command for set timeframe  on thefly when i add indicator ? example when i write script  and clic over play in metaeditor  in default , it set me H1  but if i want set M30 ? on the fly ? i look
faustf
Added topic date to integer or long ?
hi guys   is correct  write  in this mode?? long   RslTime ; int ManyTime= 2 ; RslTime = Hour()*ManyTime;
faustf
Added topic find bar in specific time frame range yesterday
hi guys , how  is possible find  in yesterday  in time frame (example 30 M) the   bar that  have a value = at XXX
faustf
Added topic position bar by price
Hi guys  is possible return a  position bar  by price ? example  i have a  highets value of 48 bar , suppose is 0.96366 , exist a method  for  positionbyvalue (0.96366) and  return me .... 5  the fifth bar
faustf
Added topic high and lowest of yesterday
hi guys  i try to find  highest and lowest of  yesterday  i use this  code  but  for me not  work //+------------------------------------------------------------------+
faustf
Added topic set time frame when attach script or EA or indicator
hi guys  itry to set the time frame  when  i attach a script with this code  but not work    ChartSetSymbolPeriod ( 0 , NULL , PERIOD_M30 );   anyone can  help me ? thankz
faustf
Added topic arrow over candle error
hi guys  i try to se over the candel a little arrow  i create this script it create a rrow  but not over the candel and when i zoom it  the arrow is so much over anyone have some suggestions ?  thankz
faustf
Added topic array questions
hi guys  , why if i decleare array in this mode return me error invalid index value ? int VisibleBar=WindowFirstVisibleBar(); double aBodyCount[VisibleBar]; is a integer
faustf
Added topic Candle recognize questions
hi guys i have a questions about , how recognize for all cross , explane better , example: if you want recognize if body of candel is up you do a differnces of  close-open if is max of > 0.00 is up , is less is down body candel. ok but if i
faustf
Added topic question about indicator and sub indicator
hi guys  how  is  possiblòe interact  with indicator ? (explain better) scenario: i have  a cross XAUDUSD  and attach over the CCI and over CCI, also MA, how is possible (for example ) trigger a long  when MA 
faustf
Added topic arrow draw only one time why???
hi guys  i try to create a indicator , if  exist some condition must underline a candle  with arrow  and send me allert, but underline work only one time  and  allert work correctly  this is my  code  if
faustf
Added topic why not calculate correct ??
hi guys  i try to do a simply script //+------------------------------------------------------------------+
faustf
Added topic filewrite questions
hi guys  i have a little script for open trade 2 or more with one button , i want  write a  numbertrade in temporary file i write this  code     for (ctrlshort= 1 ;ctrlshort<=QttOpenTrade;ctrlshort++)
faustf
Added topic terminal.exe run but not show
hi guys  , after blackout , i restart my platform but , in taskmenager  see  terminal.exe  with cpu usage 99% , but not show nothing , whats wrong ? any one can suggest somnthings  thankz
faustf
Added topic Question Decimal about Close
hi guys i have a corss with 5 decimal after dot , but  when i run Close[1]  return me only 3  is possible  increase decimal after dot ? thankz  at  all
faustf
Added topic question about ChartApplyTemplate
hi guys  i have  a  question i try to do a little script for attach a template. My template is located in  C:\\Users\\pc\\AppData\\Roaming\\MetaQuotes\\Terminal\\B6FECCFE53E01D2BAC26AAD9B14029A8\\templates\\BollingerBands.tpl i
faustf
Added topic how stringreplace \ in \\ ?
hi guys , i try to replace   in a path   the   sign \   in to  \\   but   return  me  double quoated ar neede   whats  wrong ?? string RelativePath= (