Termos de Referência
I want a MQL5 indicator that can set up a csv data file for analysis in Excel for backtesting of a simple trading method based on counting priceline bars as entry triggers .
The indicator will serve two purposes:
1.Backtesting trading strategy by using Index 1 (counting from left) with no spread and generating a comprehensive csv spreadsheet as well as a summary of output as a text file. I am 70+ and an Excel novice.
2. Forward testing trading strategy by using index 0 adding actual spread statistics and commission for the calculation of wins and loss to the statistics.
Visual environment
Display a trading plot divided in two bands starting from any Price to which I assign 0 and 100 index including data window.
Backtesting will require Start Date and Stop Date inputs.
Forward testing will require Daily HH:MM:SS start and Date.
Trading method
It will involve counting Priceline bars count based on the body strength of candle providing weightage and ranking in terms of maximum 4 levels of Body Strength % . Indicator will give a choice of using from 1 to 4 levels of weightage as defined by the user.
Backtesting of trading methods will create csv data with signal buffers. Buy, Sell, TP exit, Stop Loss exit by Pips, Stop loss exit by Minutes/ chart TF
Backtesting will require Start Date and Stop Date inputs.
Forward testing will require Daily HH:MM:SS start and Date.
Trading method will involve counting of Priceline bars based on the body strength of candle providing weightage and ranking in terms of maximum 4 levels of Body Strength % providing a system of counting. Indicator will give choice to user to use one level or two levels or three levels or four levels based on percentage of each price level bar wicks length. No upper or lower vicks just use Middle Body length.