Codes

Vortex Oscillator System for MetaTrader 4

A trading system based on the Vortex Oscillator

Vortex Indicator System for MetaTrader 4

A trading system based on the Trading Idea presented in the article "The Vortex Indicator" published in the January 2010 issue of Technical Analysis of Stocks & Commodities

Vortex Oscillator for MetaTrader 4

An oscillator version of the Vortex Indicator

Vortex Indicator for MetaTrader 4

This indicator appears in the January 2010 issue of Technical Analysis of Stocks & Commodities

Forum

How can my EA notify me when a Pending Order is filled?

Hello, I have a simple EA that opens my pending orders with Entry Price, Stop Loss and Take Profit parameters that I manually enter. I want the EA to alert me when a pending order is filled. I tried using if(OrderOpenTime() !=0) but pending orders are considered "open" when they are accepted by

How do I write MT4 scripts that accept user input?

Hello, Perhaps this question has already been answered, if so, please refer me to the forum post or community article that explains how to do it. I want to write MT4 scripts that allow me to enter input before the script is executed. Right now I am using EAs to perform this function . Thanks in

EA Errors when calling functions from stdlib

I get the following error message when calling the ErrorDescription function from the stdlib: expert function calls are not allowed; 'stdlib'-'ErrorDescription' This line is in my EA: #include <stdlib.mqh> I've never had this problem before. Currently running build 402. Please help. Thanks

Problem with iCustom

I have an Expert Advisor that uses iCustom to retrieve the values of a custom indicator. iCustom is returning values that are causing the EA to move in and out of trades when, if I were trading manually, I would have stayed in a particular trade until the indicator flashed the true signal. At the

File Reading Problem

I am having trouble with sequential calls to a function that opens a file, reads from the file, closes the file, and returns the retrieved data. The first function call works, no problem. However, the second function call causes the system to freeze. I have to force close MT4 and restart it. Each

FileRead problem

I wrote a small script to learn how to use FileRead and FileWrite. FileWrite works OK, becauseI can open the resulting CSV file in NotePad to see the data. The problem is reading the data back into MT4. The script has an Alert in it so I can immediately visualize the data read back in. Only some of