| / | Forum |
|
BillR
2006.07.12 02:22
I'm a newbee: does anyone have an example of using existing indicators, like the
Alligator or Fractals? Suppose I wanted to trade on logic like "the high and low
are outside the range of the alligator and this bar represents an up fractal"?
I guess I'dt copy the indicators in as functions, modify them to return values
instead of drawing, and then call them, but does anyone have an example?
|
|
MQL4 as a Trader's Tool, or The Advanced Technical Analysis Trading is, first of all, a calculus of probabilities. The proverb about idleness being an engine for progress reveals us the reason why all those indicators and trading systems have been developed. It comes that the major of newcomers in trading study "ready-made" trading theories. But, as luck would have it, there are some more undiscovered market secrets, and tools used in analyzing of price movements exist, basically, as those unrealized technical indicators or math and stat packages. Thanks awfully to Bill Williams for his contribution to the market movements theory. Though, perhaps, it's too early to rest on oars. |
|
firelake
2006.07.12 06:37
Hi BiilR,
You don't really need to modify indicator itself. You would call iCustom() function and provide your indicator name as one of the parameters. However, you may run into issues with EA not properly calculating/displaying/printing values. See my post "Please HELP with EA". Also, I suggest you dowload EA1.zip file, it contains MyInd.mq4 (indicator) and MyIndTest.mq4 (EA) - they are very simple and will give you an idea where to start. firelake |