You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
What's this:
I wrote this script a long time ago, to help exercise and test my trading system, not with EA, but with manual trade.....Recently I find an EA (vhandstrade) out there, called Manually Trading, I say: it's just what I've done. And why use my solution? vhandstrade is so "real time"--- when you decide to order, it'll take effect with next bar's CLOSE price, not OPEN price, which will make a huge difference, usually hundred pips.
In short, my script has the same purpose, but a different solution --- in tester mode (I write an EA "null" doing nothing), in order to trade, you just draw some arrows on the chart, whereabout of arrow will express when and price of your position. For PRICE you'll have to be accurate so that you'll get a good final evaluation of your trading system. For WHEN, you'll have to forget accuration and make it clear the sequence of arrows: there're only 2 kinds of arrows involved(UP ARROW and DOWN ARROW, but recently I change them to LEFT/RIGHT PRICE LABEL which give better price accuration), for instance: the script will decide an UP ARROW means whether to build a long position or to close a short position, that's totally decided by sequence of arrows. I write a indi to show on chart: when it says 2 means you've bought 2 long positions,(if minus, means short), then when 0 means you've close all those positions and you could begin new trade.... When you finish your backtest tradings,(that indi says 0), you just run my script once, and you'll get a .CSV file emumarating earning of every trade.
Status:
Not just a thought, all above is working fine, although simple.
Need help:
Experienced MT4 programmer who is interested, please help improve my code, on anything! Especially:
1, about .CSV, I wanna make it more like MT4's backtesting REPORT.
2, is there any possibility to show on chart earning when every trade is closed ?
See what it looks like:
3 tradings are done and 1 opening.
the csv:
Download:
1by1 is the script.
null is EA.
posi is indi.