athan
athan
Friends

Add friends via their profile or user search and you will be able to see if they are online

athan
Added topic Simple question on indicator loop
Hi on all the indicators i m creating i m using a while loop (below). Lately i came across on this debate on this thread Contradictory information on IndicatorCounted() - MQL4 forum (thanks to WHRoeder for pointing that to me) so questions arise. My
athan
Added topic Question on iCustom
Hi I ve got three indicator. indA, indB and indC. The code following is what i m using in all of the three indicators. The key point is that they look back up to a N amounts of bars specified in the extern history variable. extern int history= 300 ;
athan
Added topic Indicators question
Hi on some indicators like when you backtest them the results are not the same on the chart as when you compare the same indicator on a live chart the same time period. Meaning that crosses are different etc (depending on the indicator style). This
athan
Added topic DEMA is not working with backtest properly
Hi I m working with DEMA indi but when i m using it on a backtest it does not display the same. Anyone knows why? int start()   {    int limit= Bars - 1 -IndicatorCounted();    //----    static double lastEMA
athan
Added topic Moving Regression indy not working in backtest, question.
Hi i ve worked on some regression code i ve found and i altered it so to create a different version of it. Although it seems to work as part of an indincator, when i m backtesting it the results are totally different! I really cant find where the
athan
Added topic How to check for closed trades
ok for some reason i cant figure out how to check the closed trades price. I mean suppose you trade all day with dozens of closed trades and right now you ve got 2 open trades. And you decide to close the 1 of the 2. How will you check the last one
athan
Added topic Post live trading orders/actions to web/MySql
Hi all. I ve searched a lot but i havent found anything in this forum or web that could help enough to answer my question. I try to post/export live trading orders (instant and pending) from MT4 account to my web hosting/MySQL (or through any other
athan
Added topic Does 3DOscillator repaints?
Hi Does  3DOscillator   CI repaints? According to some backtests ive done it seems it does. I m quite suprised since in the code i can only see using iRSI&iCCI. Is there a way to fix this?  https://www.mql5.com/en/code  
athan
Added topic EA Framework
Hi anyone knows if there is any sort of sample EA framework with build in features like MM, SL-Trailing SL, TP, Limits Orders etc? I just dont want to reinvent the wheel on the basic parts of an EA   Thanks 
athan
Added topic Problem with adding indicators using DLLs in meta
Hi whenever i m trying to add an indicator on a chart that uses/calls a DLL it justs doesnt work. The indicator is there on the list but although i try to drop it on the chart it does not react! It like i didnt... Any ideas? From the Options->EA I
athan
Added topic Data Window Question
Hi Is it possible to display on data window any variable other then the buffers? If so how? Thanks 
athan
Added topic EA simple question
Hi  I m trying to create a very simple EA (thats my first one) that will use a simple indicator to enter and exit a trade. This indicator has two lines (Buffers) a green and a red. So I want to enter the trade when green & red cross and exit
athan
Added topic calling ZUP indicator using icustom
Hi there I m trying to call ZUP indicator so to embed it on my trading system i m building. What i m trying to get is the X,A,B,C,D points and the XD,XB,BD & AC points. Anyone did this before out of a ZUP indicator
athan
Added topic iCustom communication problem
Hi  i ve got the following situation. I call iCustom for indicator A to call indicator B that return data almost instantly. I say almost cause it takes a few ms cause of some data validation indicitor B it does. Cause of these ms, the Buffer in
athan
Added topic question on start()
Hi i know that start() is called on a custom indicator on every new tick. What i want to do is to run the contents of start()  every time a new candle opens, no matters on what timeframe we are. How is this possible? Thanks   Athan 
athan
Added topic Very strange Error...
Hi   i ve got the following code that is trying to make an MA out of the C-L calculation. My main problem is tha: When i first place the indicator it is drawn fine. But after it it starts drawing a straight line... cant really figure out
athan
Added topic Very strange problem
Hi  i ve got the following code of a custom indicator. What s doing is plotting the Close of the current bar timeframe as an indicator on a separate window for the first 180 bars only. The problem is that for some reason - cant figure out -
athan
Added topic simple iCustom question
Hi, i m trying to call iCustom of a Pivot Points custom indicator that i ve build.   This PP cusom indicator got Daily, Weekly and Monthy Pivot Lines that i m drawing on the chart using objects so i do not need to use any buffers. I use
athan
Added topic Question on custom indicator on separate window
Hi i m creating a custom indicator as a separate window. I d like to know if it is possible to display/draw an object at a specific Buffer[i] position instead of a continuous line. I m always talking on a separate window below the chart and not
athan
Added topic Trying to calculate RSI type period on my code
Hi  i ve got the following code that scans the bars on a chart from right to left. What it does is to get the bar from the current TF i m looking at and get down to M1 timeframe and scan the bars there. Eg if were looking at the H1 timeframe
12