MQL4 and MetaTrader 4 - page 691

Hello I want hidden some parameters in my EA , please help . What should I add code ? Thanks
[Deleted]
  HELP PLEASE?  (1)
[Deleted]
Does anyone know where I can find a Linear Weighted Moving Average? Thanks
[Deleted]
Hi, this is a heiken ashi alert indicator, which alerts after the candle has changed color, can anyone please make it to alert on current bar when color changes. Thanks in advance.
Good afternoon, I am trying to read from the broker the commission per lot using MarketInfo(), but I simply don't find the way :-( Kindly note I don't want to read the commission for a trade, once taken, I want to know the commission per lot inside the Ea, before trading. Thanks in advance! - A
Hello, I want to create own GUI panel (with butttons etc.) for my indicator. There is an example in MT4 called SimplePanel/SimpleDialog.mqh which has the method "CreateEdit": bool CPanelDialog::CreateEdit(void){ //--- coordinates   int x1=INDENT_LEFT;   int y1=INDENT_TOP;   int...
[Deleted]
For new version build 777, if a ex4 name is not english letters ( or the MT4 directory has another Unicode ), the ex4 can't be Attach to a chart!! For example:   If we rename ATR.ex4 to ATR - 副本.ex4   or   ATR - αβγ.ex4, it  can't  be Attach to a chart!!
[Deleted]
Hi, I am looking for a MQL4 pivot points indicator. Preferably with source code . Thanks
I have a little code snippet that determines two prices at different times and then I want to calculate the difference between the prices. Why do I get a result of "0.0" when there should be a definite result with some real figures as can be seen from the two different prices? (All the variables are
Due to re-organization of MQL4.community, the internal messaging system will be disabled on January 15. We urge you to save all important messages and switch to the convenient chat on MQL5.community website. This resource features HTTPS protocol that supports encryption offering the new level...
anyone else having trouble logging into the website tradersway.com? Never had a problem before. Everything else is working.  Thanks! Andre 
I have a Pivot Point Indicator, which has parameters , input string comment2 = "Typical=0, Weighted=1" ; // Just a help string for second input. input int Model = 0 ; // Will be 0 or 1 only. Can this thing be changed into a drop down (or combo??) box? where users have to select from "Typical" or
[Deleted]
I want to put the following trade: Short: US Oil (WTI) Long: UK Oil (Brent)   If one position loses, I think the other will gain. As such, if I have individual stop losses, I could be in a position where the net loss to my portfolio is zero but there's a substantial loss on one leg of my trade. If I...
Dear all, How to modify the code to show only the bottoms of the zigzag ? The following code below can successfully extract the tops extracted by zigzag indicator.tops[] has been specified as the index buffer in the init() function ....But is it possible to only show the bottoms of lower turn point
We are in m1 timeframe, in the current bar meaning index=0. How can we get the index of the first bar avaiable of the data? Thank you.
Hello Im programming an EA that analizes the 300 bars prior to the current bar. So If I try to backtest in the begginning of my data I get the "array out of range" because the bars. How I should handle this one? I mean I want the code to analize if there is enough bars to run the EA in the backtest...
  iHigh & iLow  (1)
Do these 'i' functions disregard spreads or include them?
I have a strange thing happening which I cannot figure out. If I run the following code for (i=1; i<=bars; i++) { closePrice = iClose( NULL ,timeFrame,i); openPrice = iOpen( NULL ,timeFrame,i); if (closePrice > openPrice) change = change + (closePrice - openPrice); else change = change +
[Deleted]
struct market{      double minqty, stepqty, pl, bid, ask;   int spread, minsl;   string ticker;      market(){      minqty = SymbolInfoDouble(ticker,SYMBOL_VOLUME_MIN);      stepqty = SymbolInfoDouble(ticker,SYMBOL_VOLUME_STEP);       pl = AccountInfoDouble(ACCOUNT_PROFIT);       ticker =...
[Deleted]
Hi, I am trying to setup the notification function for my MT4.  However, i can't seem to be able to find my Metaquote ID on the iPad version. Appreciate any help i can get.   Many Thanks.
I m running MT4 on Windows 7 and all of none of the pre-installed indicators are working. They all have the gray diamond on their icon. The HELP section of MT4 said this about the gray diamond on the icon.... "If the diamond in the lower right corner of a program icon is gray (for example, ), it...
  Double to DateTime  (10)
...Set_D1_Bar = GlobalVariableSet("D1_Bar",iTime(NULL,1440,1));D1_Bar     = GlobalVariableGet("D1_Bar");D1_Bias    = "Bearish";Comment("D1 Bias is: "+D1_Bias+" since: "+DoubleToStr(D1_Bar,TIME_DATE|TIME_MINUTES),        "\nH4 Bias is: "+H4_Bias,        "\nH1 Bias is: ",H1_Bias);... How is it I can...
[Deleted]
Hello forum, good day. What is the best way to check for the average of %K and %D of the Stochastic indicator? I need to evaluate if (%K + %D) / 2 >= n. Would it be using iStochastic() with iMAOnArray()? Best regards and thank you in advance, codeMolecules 
Hello there. Im using some moving averages values for the TP of my EA. Unfortunatly always at the end of the backtesting the MA that Im using shows (its drawn at the end of it) Is there anyway to make that NOT happen. Thank you.
[Deleted]
Hello forum, good day. I started learning MQL5 before MQL4 and I'm having a bit of trouble translating an EA to MQL4. Here is where I'm stuck: MQL5 code: void OnTick () { int total = 0 ; for ( int i = 0 ; i < PositionsTotal (); i++ ) { if ( Symbol () == PositionGetSymbol
Hello!! I have some problems with the value chart indicator in MT4 it works on all time frames except 1 minute where it does not plot. Also it works on some currency pairs but not not on others. Do any of you have any help to fix the problem?
I think it would be a nice idea to synergize our development as developers :D Contact me if you are interested. Thank you
  EventSetTimer()  (14   1 2)
If I use the EventSetTimer() function in an EA will I be able to test it in the Strategy Tester? (I know e.g. that the Sleep() function does not work in the Tester)
I found some auto trading options on meta trader 4. It has each other names.    1. Toolbar : AutoTrading (button) 2. Expert Advisors tab in Options menu : Allow automated trading (checkbox) 3. Common tab on Chart Expert Advisors properties (on popup menu when mouse right click in chart) : Allow...
Hello again, sounds simple but it didn't work: 1) class A has a public-function and it's body - working ! 2) class B derives class A, function of class A is directly available and working ! 3) in my indicator is a instance of class B, the public function of Class A is visible again, tells me its...