Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

HistoryTraning (NEW VERSION) - expert for MetaTrader 4

Views:
15256
Rating:
(5)
Published:
2009.09.09 06:26
Updated:
2014.04.21 14:54
HistTraining.zip (584.19 KB)

Now you can open several orders with different lot size. All bugs were corrected.

This program is created for training on historical data. Try it. It’s interesting. This requires to run the application training.exe, open Strategy tester, start testing of the attached expert adviser HistoryTrain.mql. Turn on visual mode and adjust the scroll speed of history. The adviser works with the DLL so it is necessary to allow the DLL in the "Tools" menu, "Options".

Mark the next items:

-Allow dll imports

-Allow live trading

And remove the check mark from the item

-Confirm dll function call

In the application window there are only 3 buttons: buy, sell, close. Look at the currency chart and carry out trading activities on historical data. At the same time look at the chart of profit.

Unpack the archive to the root, then there will be a folder c: \ HistTraining \ in which there are 4 files:

  • HistoryTrain.mql
  • libSharedVarsDLLv2.def
  • SharedVarsDLLv2.dll
  • Training.exe

Copy HistoryTrain. mql to the folder with the experts advisers.

VIDYA indicator VIDYA indicator

Variable Index Dynamic Average indicator

Adaptive RSI Adaptive RSI

Adaptive RSI indicator

GetPaneHeights GetPaneHeights

This function calculates the heights in pixel of all panes in a window.

Horizontal Grid Lines on Chart Horizontal Grid Lines on Chart

The GRID10 indicator will draw a grid on a chart using grid lines positioned and separated at a convenient power of ten. The grid is constructed appropriate to the range of the symbol being plotted on the chart.