评论 自动交易锦标赛 2007Relative
226
Kár a Pannon Pumáért! Sokat horpaszott novemberben!
blockx 2007.12.30 00:59 59
Олег с наступающими Праздниками!!! Я перисылал Вам два писма на емайл который Вы указали ( O_V_K@Mail.ru )... Видимо мои сообщения к Вам не дошли? 2007.12.29 20:43 1
OMG Andreas are you serious? Do you think man who wrote one of the best self trading
program will believe that? I dont think so. What a touching story you created here.
I do not say that you have not donated that 1k$. But else is a story for brain
wash. Good luck!
27
В функции
void OrdersMagic() { .... { if(sellADXDmax>=59) { if( (sellADXDmax<=68 || MainTrend==Down) && OrderOpenPrice()-Bid >15*Point && OrderStopLoss()!=OrderOpenPrice()) OrderModify(OrderTicket(), OrderOpenPrice(), OrderOpenPrice(), Prof, 0,Gold); } ..... лучше так { if( (sellADXDmax<=68 || MainTrend==Down) && OrderOpenPrice()-Ask >MarketInfo(Symbol(),MODE_STOPLEVEL)*Point && OrderStopLoss()!=NormalizeDouble(OrderOpenPrice(),4)) А то может дать 130 ошибку. 2007.12.29 06:52 27
Mishell писал(а): Из алгебры логики:Привет всем! Цикл while ( ((iHigh(NULL,TimeFrame,BeginBar)+sAddpips*Point)<iHigh(NULL,TimeFrame, TopBar) || Не совпадает с исходным циклом while (! ( ((iHigh(NULL,TimeFrame,BeginBar)+sAddpips*Point)>=iHigh(NULL,TimeFrame,
TopBar) && В первой скобке должен быть && а не ||. Отсутствие дивера - это когда цена И индикатор движутся в одном направлении.
для удобства A = iHigh(NULL,TimeFrame,BeginBar)+sAddpips*Point) B = iHigh(NULL,TimeFrame,TopBar) C = iBullsPower( NULL, TimeFrame, BullsPeriod, PRICE_CLOSE, BeginBar) D = iBullsPower( NULL, TimeFrame, BullsPeriod, PRICE_CLOSE, TopBar) E = UpWaveNum F = MaxWaveNum Начальное выражение (было до исправления глюка зацикливания): !( (A>=B && C<D) || (E==F || D<0)) для || скобочки не нужны => !((A>=B && C<D) || E==F || D<0) Теория: !(A && B) = !A || !B ; !(A||B) = !A && !B => получаем !(A>=B && C<D) && !(E==F) && !(D<0), => (!(A>=B) || !(C<D)) && !(E==F) && !(D<0), => (A<B || C>=D) && E!=F && D>=0 Учитываем что UpWaveNum не превышает MaxWaveNum и глюк с зацикливанием получаем (A<B || C>=D) && E<F && D>0 или ( (iHigh(NULL,TimeFrame,BeginBar)+sAddpips*Point)<iHigh(NULL,TimeFrame, TopBar) || iBullsPower( NULL, TimeFrame, BullsPeriod, PRICE_CLOSE, BeginBar)>=iBullsPower( NULL, TimeFrame, BullsPeriod, PRICE_CLOSE, TopBar) ) && UpWaveNum<MaxWaveNum && iBullsPower( NULL, TimeFrame, BullsPeriod, PRICE_CLOSE, TopBar)>0 2007.12.29 04:08 27
Mishell писал(а): Я так понимаю когда WaitDn == Go, то происходит следующее MainTrend и LocalTrend
безусловно меняются на Down, а WaveNum, - в том случае когда MainTrend изменяется
в Down становиться =1, а когда он (MainTrend) не изменяется, то WaveNum просто
инкрементируется.ooommm писал(а):
У меня WaveNum 465 сейчас на Alpari, на FXDD =1. Тоже в этом месте ( 2007.11.20 )
поменялась на 464 сначала.
А проблема в следующем: ...Сначала попадаем в if(MainTrend!=Down) , меняем WaveNum на 1 у меня в 8:32 2007.
11.20 , В ф-ии OrderMagic() есть код ...Но WaveNum должен изменяться вместе с LocalTrend. Поэтому думаю, что должно быть так: case Go : { MainShortOrder(OrderNum,MainShortMagic); if(MainTrend!=Down) WaveNum=1; else if(LocalTrend!=Down) WaveNum++; SetGlobVar("gWaveNum"+Symbol(),WaveNum); MainTrend=Down; GlobalVariableSet("gMainTrend"+Symbol(), Down); LocalTrend=Down;GlobalVariableSet("gLocalTrend"+Symbol(),Down); ....Что скажете? Вобще WaveNum и LocalTrend связаны как нибудь, или они сами посебе каждый? Мне так кажется что при MainTrend=Up четные WaveNum должны соответствовать LocalTrend=Down, а при MainTrend=Down - четные значения WaveNum соответствуют LocalTrend=Up ? 2007.12.29 03:46 1
Better wrote:
247817 писал(а):
Hello Olexandr - Kub! 10 days ago I decided to follow the trades of your EA in my real account. I traded
almost every signal and the result was extraordinary. Since this is your system,
I want to share these profits with you, or if you are not interessted I would wire
an amount to a social institution in the Ukraine for example a children helping
foundation, or even both. It is not a really big amount but actually the account
is up more than 100% (I took some more risk than your EA did in this 10 days, lol
;) ty, Andreas Hello Andreas I would appreciate if you donate this money to the charity fund "Hope and beleive" http://www.ucccf.com (site in Russian). For wire transfers in EUR:
Hello again Olexandr, It was a great pleasure to me to donate to the "Hope and believe" charity an amount of 1000 $ today (28/12/2007). I am convinced that uccf would appreciate receiving more donations like this, but you know, the championship is over and I cant follow the trades of your Kub-System anymore. If you would like me to continue this donations just let me follow the trades of your system. I dont need your EA, it would be enough to give me an investor (read only) password to a demo-account were Kub is running on, thats all I need to follow the trades. Just the same thing as the championship was. I follow the trades and children at ucccf get 100% of this account grow. In about 10 days I made this 1000 $ and donated it to them. If you dont want to send me an E-Mail directly, you could transmit the demo-account-nr and investor password to ucccf and ask them to forward it to me (E-Mail adress see my first forum message). I hope you like this idea, and if not, there is no problem. Thank you for this great system. Andreas 2007.12.29 01:29 18
Hello dear MR. William ! How much does your system EA costs, please?? Mery Christmas and Happy New Year!!!Strong health and light life!!! My e-mail is: flyerr88@rambler.ru Thank you ! 2007.12.28 12:56 1
Congratulation to your wonderful EA. May I ask you to advice how you done the simulation testing using C++ in your article? I am very keen to learn from you, as I also find it rather time consuming when testing my EA using the Tester of MT4. Thank you very much 27
Я просто логику не очень понимаю, какое у WaveNum должно быть значение в этом коде, if(TimeCurrent()- LastMainDnGoWeek>86400*40) {WaveNum++;SetGlobVar("gWaveNum"+Symbol(), WaveNum);}//Wave counter если 1, то WaveNum устанавливается в 1 в предыдущем if. =========================== Еще заметила одну проблему: Если поставить скобки как crypto писал =============================== ========================== То между 2004.01.15 - 2004.01.20 експерт начинает постоянно открывать и закрывать ордера. Мне кажется там получается что WaitUp = Go и WaitDown = Go одновременно. Если они взаимоисключаемые, то может поставить дополнительные проверки? Я точно не знаю где в коде это происходит, но причина - это скобки в case GO. Если кто хочет протестировать - надо начинать c середины 2003 г - до конца января 2004, если просто взять январь - то этого не происходит. 2007.12.28 02:12 |
|





