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
(not in tester works fine)
Maybe advise how to calculate the regression channel differently ?
I've been saying everywhere that the standard ZigZag is undesirable to shove into an EA for backtesting. The grail will be ordinary.
Apparently I haven't been everywhere :)
Motivate. It's not obvious from the code how it is used.
And ZigZag, it's the same NRTR ... :))
Or trailing stop (the "chandelier" output) ... :))
Or entering on a pullback from the low ...
.......... etc. etc.
Basically it is all the same ... :)
U menia sledus4aja situacija:
Paproboval ja sdelat' funkciju SetArrow() iz mt3 s pomos4ju ObjectFind()->ObjectDelete();ObjectCreate()->ObjectSet() v svajom custom indikator. Jiesli podkliu4aju indikator priamo k grafiku, vsio rabotajet i strelki risujetsia. I tried evo zapustit' 4erez iCustom() funkciju in eksperte i zapustit' 4erez tester i vylez takaya oshbybka:
Pri vyzove indikatora 4erez iCustom() funkciju ObjectFind() i ObjectCreate() in indikatore otkazalis' rabotat' in tester i vale. Strelki nirisujetsia, i indikator prekras4ajet work.
Po kodu oshbybki posmotrel v biblioteku stdlib, i tam eto vyvoditsia kak "unknown command" pri ObjectCreate().
The structure vyzova takaja:
ekspert->indikator->vyzovov svojej sdelannoj funkciji SetArrow(Time[shift],Price,Code,Color)->udalajem staruju strelku jiesli imia novoj strelku nie unikal'naja s pomos4ju ObjectFind()+ObjectDelete() jiesli da->doajem ObjectCreate() with imenenem stringa vziatovo iz Time, patom ObjectSet() param Objectrov dlia strelki.
Mozete poset' tam proisxit posle kampilirovanija?
Jiesli budet nuzna eta funkcija i sami ninapishyte, pribavliu posze. :-)
P.S. SetArrow() funkciji nigdeu v MT4, bylo by o4en' polezno jiesli ya by okazalas' v spiske standartnyx funkcijax. I jies4io: when zapuske expert/indikator v katorom jiest' ve4nyj loop, MT4 sozrajet vsie resursy i zavisajet, eto kak nibut' nuzno popravit'. Ideja nad etom - sdelat' parametr skol'ko ciklovno mozno byt' v te4enije adnoj sekundy, tipa CPU prioritet :-)
Po4emu eto nirabotajet 4erez iCustom() i rabotajet priamo iz indikatora nimogu poimat'... Mozete pamo4'?
iCustom can only return values from the indicator buffers.
In addition, you try to call the function through iCustom?
It is impossible ...
Then insert it into your Expert Advisor/indicator
#include <stdlib.mqh>
and in the start() block you can refer to it as embedded.
I see it this way.
Also strange multiline logs like :
19:14:22 2004.02.27 10:37 Tester: take profit #5 at 1.2412 (1.2406 / 1.2410)
19:14:22 2004.02.27 10:38 Tester: take profit #5 at 1.2412 (1.2401 / 1.2405)
19:14:22 2004.02.27 10:39 Tester: take profit #5 at 1.2412 (1.2400 / 1.2404)
19:14:22 2004.02.27 10:40 Tester: take profit #5 at 1.2412 (1.2401 / 1.2405)
19:14:22 2004.02.27 10:41 Tester: take profit #5 at 1.2412 (1.2398 / 1.2402)
19:14:22 2004.02.27 10:42 Tester: take profit #5 at 1.2412 (1.2400 / 1.2404)
19:14:22 2004.02.27 10:43 Tester: take profit #5 at 1.2412 (1.2400 / 1.2404)
19:14:22 2004.02.27 10:44 Tester: take profit #5 at 1.2412 (1.2399 / 1.2403)
19:14:22 2004.02.27 10:45 Tester: take profit #5 at 1.2412 (1.2402 / 1.2406)
19:14:22 2004.02.27 10:46 Tester: take profit #5 at 1.2412 (1.2399 / 1.2403)
19:14:22 2004.02.27 10:47 Tester: take profit #5 at 1.2412 (1.2397 / 1.2401)
19:14:22 2004.02.27 10:48 Tester: take profit #5 at 1.2412 (1.2391 / 1.2395)
19:14:22 2004.02.27 10:49 Tester: take profit #5 at 1.2412 (1.2393 / 1.2397)
19:14:22 2004.02.27 10:50 Tester: take profit #5 at 1.2412 (1.2395 / 1.2399)
19:14:22 2004.02.27 10:51 Tester: take profit #5 at 1.2412 (1.2394 / 1.2398)
19:14:22 2004.02.27 10:52 Tester: take profit #5 at 1.2412 (1.2391 / 1.2395)
19:14:22 2004.02.27 10:53 Tester: take profit #5 at 1.2412 (1.2393 / 1.2397)
19:14:22 2004.02.27 10:54 Tester: take profit #5 at 1.2412 (1.2399 / 1.2403)
19:14:22 2004.02.27 10:55 Tester: take profit #5 at 1.2412 (1.2402 / 1.2406)
19:14:22 2004.02.27 10:56 Tester: take profit #5 at 1.2412 (1.2394 / 1.2398)
19:14:22 2004.02.27 10:57 Tester: take profit #5 at 1.2412 (1.2387 / 1.2391)
19:14:22 2004.02.27 10:58 Tester: take profit #5 at 1.2412 (1.2387 / 1.2391)
19:14:22 2004.02.27 10:59 Tester: take profit #5 at 1.2412 (1.2385 / 1.2389)
19:14:22 2004.02.27 11:00 Tester: take profit #5 at 1.2412 (1.2385 / 1.2389)
19:14:22 2004.02.27 11:01 Tester: take profit #5 at 1.2412 (1.2390 / 1.2394)
19:14:22 2004.02.27 11:02 Tester: take profit #5 at 1.2412 (1.2393 / 1.2397)
19:14:22 2004.02.27 11:03 Tester: take profit #5 at 1.2412 (1.2391 / 1.2395)
19:14:22 2004.02.27 11:04 Tester: take profit #5 at 1.2412 (1.2384 / 1.2388)
19:14:22 2004.02.27 11:05 Tester: take profit #5 at 1.2412 (1.2385 / 1.2389)
19:14:22 2004.02.27 11:06 Tester: take profit #5 at 1.2412 (1.2384 / 1.2388)
19:14:22 2004.02.27 11:07 Tester: take profit #5 at 1.2412 (1.2381 / 1.2385)
19:14:22 2004.02.27 11:08 Tester: take profit #5 at 1.2412 (1.2384 / 1.2388)
19:14:22 2004.02.27 11:09 Tester: take profit #5 at 1.2412 (1.2378 / 1.2382)
19:14:22 2004.02.27 11:10 Tester: take profit #5 at 1.2412 (1.2379 / 1.2383)
19:14:22 2004.02.27 11:11 Tester: take profit #5 at 1.2412 (1.2383 / 1.2387)
19:14:22 2004.02.27 11:12 Tester: take profit #5 at 1.2412 (1.2385 / 1.2389)
19:14:22 2004.02.27 11:13 Tester: take profit #5 at 1.2412 (1.2378 / 1.2382)
19:14:22 2004.02.27 11:14 Tester: take profit #5 at 1.2412 (1.2377 / 1.2381)
19:14:22 2004.02.27 11:15 Tester: take profit #5 at 1.2412 (1.2381 / 1.2385)
19:14:22 2004.02.27 11:16 Tester: take profit #5 at 1.2412 (1.2382 / 1.2386)
19:14:22 2004.02.27 11:17 Tester: take profit #5 at 1.2412 (1.2380 / 1.2384)
19:14:22 2004.02.27 11:18 Tester: take profit #5 at 1.2412 (1.2384 / 1.2388)
19:14:22 2004.02.27 11:19 Tester: take profit #5 at 1.2412 (1.2385 / 1.2389)
19:14:22 2004.02.27 11:20 Tester: take profit #5 at 1.2412 (1.2382 / 1.2386)
19:14:22 2004.02.27 11:21 Tester: take profit #5 at 1.2412 (1.2377 / 1.2381)
19:14:22 2004.02.27 11:22 Tester: take profit #5 at 1.2412 (1.2379 / 1.2383)
19:14:22 2004.02.27 11:23 Tester: take profit #5 at 1.2412 (1.2383 / 1.2387)
19:14:22 2004.02.27 11:24 Tester: take profit #5 at 1.2412 (1.2383 / 1.2387)
19:14:22 2004.02.27 11:25 Tester: take profit #5 at 1.2412 (1.2384 / 1.2388)
19:14:22 2004.02.27 11:26 Tester: take profit #5 at 1.2412 (1.2387 / 1.2391)
19:14:22 2004.02.27 11:27 Tester: take profit #5 at 1.2412 (1.2386 / 1.2390)
19:14:22 2004.02.27 11:28 Tester: take profit #5 at 1.2412 (1.2384 / 1.2388)
19:14:22 2004.02.27 11:29 Tester: take profit #5 at 1.2412 (1.2385 / 1.2389)
19:14:22 2004.02.27 11:30 Tester: take profit #5 at 1.2412 (1.2384 / 1.2388)
19:14:22 2004.02.27 11:31 Tester: take profit #5 at 1.2412 (1.2380 / 1.2384)
19:14:22 2004.02.27 11:32 Tester: take profit #5 at 1.2412 (1.2384 / 1.2388)
19:14:22 2004.02.27 11:33 Tester: take profit #5 at 1.2412 (1.2385 / 1.2389)
19:14:22 2004.02.27 11:34 Tester: take profit #5 at 1.2412 (1.2386 / 1.2390)
19:14:22 2004.02.27 11:35 Tester: take profit #5 at 1.2412 (1.2386 / 1.2390)
19:14:22 2004.02.27 11:36 Tester: take profit #5 at 1.2412 (1.2388 / 1.2392)
At the same time testing is clearly not working correctly.
This is not to offend the developers, but for the good of the cause - to make everything work properly as soon as possible.
We are just for this good - to bring the tester up to speed :)