Market theory - page 169

 
Yousufkhodja Sultonov:
And, when operating in the real market, one cannot do without defining a virtual income, which is much higher than the real income. Unless the concept of virtual income is introduced, it is impossible to calculate an entrepreneur's profit.
If you do not introduce the concept of virtual income, then it is impossible to calculate the entrepreneur's profit.
 
new-rena:
I agree. it is impossible to impose the concept of one price on forex, because it is a market. naturally, the price has a delta both up and down. accordingly, so does the planned profit.
I do not understand one thing so far: how the market price manages to go rapidly downwards first, before hitting the price without breaking my ratios. It's as if it's running through the cup, showing its power. It can even reach negative values without breaking its pattern of formation. In short, it opens up space for research and discovery of new patterns, which I hope I have set the right direction.
 
303 191:

1. test for weeks (minimum 20 weeks).

2. cure yourself of multiple entries (being in the market or after a fix, opening in the same direction at a worse price compared to the previous order) in the same direction, many strategies suffer from this. It is better to make 1 qualitative entry, at least 2, than 10 like now when trading with hands, waiting for losses for the sake of beautiful 100% statistics. It looks like gambling and psychological problems, judging by open positions, you should not trade with hands.

3. Include slippage accounting on the simulation (if the number of trades per day, more than 4).

4. Try to stay in the market from 04.00-20.00 UTC, without transferring positions, i.e. fixing at 20.00 UTC.

Take into account all points, achieving more than 90% of profitable weeks, the profit factor of 3, then using reinvestment in a real account, will become a dollar millionaire in a short time frame.

Good luck!

Thanks for the good wishes and advice.
 
Yousufkhodja Sultonov:
One thing I don't understand, so far, is how the market price manages to first go precipitously downwards before hitting the price without breaking my ratios. It's as if it runs through the glass, showing its power. It can even reach negative values without breaking its pattern of formation. In short, there is a lot of room for research and discovery of new regularities, which I hope I have set the right direction.
There is room, it is a fact. I will have time at the weekend to write and test it.
 
JohnPawn:
There is no peeking. Price is calculated based on the previous 20 bars Open (or maybe Open of the current bar is also taken into account). There is just an error in the calculation of profit, IMHO.
The current version of the indicator calculates a virtual tick flow of market prices, builds a P candle of period N with its OHLC in parallel to the CD candles using N bars of the CD history of each TF.
 
JohnPawn:
I.e., already know the algorithm of decision-making by the Expert Advisor, could you use the data (2010-2011), which have already been posted many times, to show (1-buy, -1-sell) the work of the Expert Advisor.

Please, here is the performance of the EA for this period with TP = SL = 300pp., lot 0.01 on TF D1:

Bars in test 1434
Ticks modelled 1954
Modelling quality n/a
Mismatched charts errors 0
Initial deposit 1000.00
Spread Current (25)
Total net profit 2533.39
Gross profit 6546.84
Gross loss -4013.45
Profit factor 1.63
Expected payoff 6.98
Absolute drawdown 87.62
Maximal drawdown 1351.77 (41.60%)
Relative drawdown 41.60% (1351.77)
Total trades 363
Short positions (won %) 222 (65.32%)
Long positions (won %) 141 (59.57%)
Profit trades (% of total) 229 (63.09%)
Loss trades (% of total) 134 (36.91%)
Largest
profit trade 29.99
loss trade -30.68
Average
profit trade 28.59
loss trade -29.95
Maximum
consecutive wins (profit in money) 27 (775.98)
consecutive losses (loss in money) 45 (-1357.08)
Maximal
consecutive profit (count of wins) 775.98 (27)
consecutive loss (count of losses) -1357.08 (45)
Average
consecutive wins 12

7


Now let's continue trading up to the present time with the same parameters:

Bars in test 2354
Ticks modelled 3794
Modelling quality n/a
Mismatched charts errors 0
Initial deposit 1000.00
Spread Current (25)
Total net profit 7258.61
Gross profit 16707.40
Gross loss -9448.79
Profit factor 1.77
Expected payoff 8.30
Absolute drawdown 87.62
Maximal drawdown 1936.04 (42.94%)
Relative drawdown 42.94% (1936.04)
Total trades 875
Short positions (won %) 544 (66.91%)
Long positions (won %) 331 (60.42%)
Profit trades (% of total) 564 (64.46%)
Loss trades (% of total) 311 (35.54%)
Largest
profit trade 29.99
loss trade -35.13
Average
profit trade 29.62
loss trade -30.38
Maximum
consecutive wins (profit in money) 45 (1332.11)
consecutive losses (loss in money) 45 (-1361.40)
Maximal
consecutive profit (count of wins) 1332.11 (45)
consecutive loss (count of losses) -1361.40 (45)
Average
consecutive wins 13
consecutive losses 7

 
Yousufkhodja Sultonov:

Please, here is the performance of the EA for this period with TP = SL = 300pp., with 0.01 lot on TF D1:



Please explain how the TP and SL are handled. Are you using minutes, where entrance is strictly by day start or using TF D1 and all ticks?

Although, I have already seen:

"Bars in test 2354

Ticks modelled 3794".

This is the work on the daily bars. I have strong doubts that 3794 ticks can accurately handle take/stops. This is nonsense, no?

 
Алексей:

Explain how the TP and SL are handled. Are the minutes used, where the entry is strictly at the beginning of the day or is the TF D1 and all the ticks used?

Although, I have already seen it:

"Bars in test 2354

Ticks modelled 3794".

This is the work on the daily bars. I have strong doubts that 3794 ticks can accurately handle take/stops. This is nonsense, isn't it?

Run in "All ticks" mode?
 
Yousufkhodja Sultonov:
Run in "All ticks" mode?

Yusuf, what do you think when you send your materials to the forum? You have, in short, done a test on DAILY bar open prices and are trying to simulate take profit and stop loss levels on such coarse sampling.

Yes, run it on all ticks. It will be interesting to see. And in general, the gold standard for testing in MT4 is the opening prices of minute bars.

If your 300 pips is 0.03 and not 0.003, then maybe there's still a chance of not being too wrong.

 
Алексей:

Yusuf, what do you yourself think when you send your materials to the forum? You have, in short, done a test on DAILY bar open prices and are trying to simulate take profit and stop loss levels on such coarse sampling.

Yes, run it on all ticks. It will be interesting to see. And in general, the gold standard for testing in MT4 is the opening prices of minute bars.

If 300 points is 0.03 and not 0.003, then maybe there is still a chance not to make too many mistakes.

The Expert Advisor is quite new and has not yet been optimized. I just wanted to see, if there is a stat advantage at SL=TP. I have launched "All ticks" now and we will see. But 64% advantage, gives me hope. TP=SL=3000pts. 5 digits.

Tester is swearing: 2015.07.19 14:46:17.737 TestGenerator: unmatched data error (volume limit 9116 at 2010.01.04 00:00 exceeded)