PB&J - PAMM (由 forex_trader_33635)

該使用者已經刪除了這個系統。

PB&J - PAMM討論

Jun 13, 2012 at 19:55
1,913流覽
23 Replies
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 14, 2012 at 09:05
Day One with PBJ. Automated Trend Following scalper on LMAX. Use Custom Analysis to check progress of the latest version. Each update that I make to the EA I'll increase the magic number by 1. Currently on version 6 and still making adjustments.
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 14, 2012 at 11:22
I've been interested in trend scalping for the past 2 months and I finally launched the automated system. It's not finished completely.. I'm already on the 6th update from the original logic 24 hours ago. I have some other ideas that I'll roll out within the next few hours and see how the updates compare to the 6th version.

Currently at this speed I'll be wealthy in a month from estimating the Myfxbook stats, but realistically I have no idea what the outcome will be. I wasn't expecting to earn 20% in 12 hours and another 20% in the next 12 hours. It hasn't even been a solid 24 hours and its placed over 200 trades solely on EURUSD.

I'm trading at LMAX therefore it's ECN + Commission and they have no interest to trade against me. If it were a Market market I'm sure I'd get 'Trade Disabled' within the next week.

I'll update with more soon. Thanks for looking. Trade History Open at ForexFactory under profile: PipNvestment
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 15, 2012 at 07:12
Are you missing signals because the processing speed of your code is too slow?

It's happening to me. I couldn't figure out why some signals were missed and others taken until I cleaned up the code to a bare minimum.

Magic #6 has a checklist while Magic #7 is Entry logic only.
 #7 has placed 3 more trades within the last 15 minutes.
stevewalker
forex_trader_79941
會員從Jun 06, 2012開始   1439帖子
Jun 15, 2012 at 07:36
if your code is not falling into a loop this is not possible. the cycle speed of compiled code is the same with your machince clock. means cpu speed in ghz.
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 15, 2012 at 08:45
i would normally use a while() loop with sleep() for scalping , but i'm currently relying on eachtick to process the start() to conserve cpu resources to run multiple version.

i'm comparing the tick count from each version of the EA and also comparing the loop speed with gettickcount

and the revised code collected 60 ticks more( at 4000 ticks currently) than the original code while the loop speeds are the same.
stevewalker
forex_trader_79941
會員從Jun 06, 2012開始   1439帖子
Jun 15, 2012 at 08:56 (已編輯Jun 15, 2012 at 08:57)
sleep() function at mql4 is varies.

if you set it to slepp(1) it will varies from 1 ms to 15 ms.
like

 1 1 1 1 1 15 1 1 1 1 1 1 1 1 15 1 1 1 1................

getticcount() is not precised.

if you want to get 1ms precision use

#import 'Winmm.dll'
   int timeGetTime();
#import

use 'timeGetTime()' instead of 'gettickcount()' and sleep with 'for next'

also why using while loop. you will miss the ticks whit sleep function.
use start() and tick trigger as you have said.

walker
stevewalker
forex_trader_79941
會員從Jun 06, 2012開始   1439帖子
Jun 15, 2012 at 08:59
1 1 1 1 1 15 1 1 1 1 1 1 1 1 15 1 1 1 1................

correction

 0 0 0 0 0 0 0 15 0 0 0 0 0 0 0 0 0 0 15 0 0 0 0 0 0 0 0 0 0 0 15 ............................
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 15, 2012 at 09:21
I had to see what this was all about and I came across a few blogs
https://advancedcppwithexamples.blogspot.com/2009/08/measuring-elapsed-time-in-c-using_22.html
and some issues other coders faced
https://www.geisswerks.com/ryan/FAQS/timing.html

now I'll rethink my approach /

Thanks Steve
stevewalker
forex_trader_79941
會員從Jun 06, 2012開始   1439帖子
Jun 15, 2012 at 09:25
any time.
knowledge is good thing when you share it.

good luck!
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 15, 2012 at 09:43 (已編輯Jun 15, 2012 at 09:45)
my goal is to process the logic at every tick and not all the other stuff. The 'otherstuff' is accountfreemargin -timefilter- equity DD - calc lotsize - etc . which is all essential but not on every tick. what is your suggestion? run the otherstuff at a time interval? therefore i have the best chance of processing the highest # of ticks

stevewalker
forex_trader_79941
會員從Jun 06, 2012開始   1439帖子
Jun 15, 2012 at 09:59 (已編輯Jun 15, 2012 at 10:00)
runt eh other stuff with the bar interval.

with each new bar it can calculate the stuff and with each tick it can calculate the trade algo

this may help.



   if(flag < Bars)
   {

do someting .......

   flag = Bars;
   }


no count no for next. no waste of time.
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 15, 2012 at 10:52
exactly. thanks again.
stevewalker
forex_trader_79941
會員從Jun 06, 2012開始   1439帖子
Jun 15, 2012 at 11:03
good luck
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 18, 2012 at 09:06
I'm on version/ magic # 14. I recoded the whole EA and slightly changed the logic for a more accurate entry. I also built an indicator for support and resistance levels that I've been trying to do for over a year now that is very similar to my manual scalping strategy. I hope to implement the S/R indicator into this EA for better decision making and more signals.

Currently this EA is semi automated. I have to decide at what price level trading is OK before hand. Today, PBJ will trade long to 1.2700 from 1.2600 and Short the highs above 1.27--. This should keep the trades active for the next day and allow me to work on the indicator more
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 19, 2012 at 07:05
Over 527 pips / 3(TP) = 175 signals on BUY ONLY side of EURUSD yesterday. The dd past the 10% mark ( goal), but could have been easily avoided if sell signals were active. I'm still working on the s/r indicator and I'm hoping to have it all figured out before US open. Still trading buy only signals
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 19, 2012 at 11:49
after one more trade, another 500+ pips today. Unbelievable. Trading long and short now
會員從May 30, 2012開始   134帖子
Jun 19, 2012 at 17:12
Carefull with your open trades, your Equity line is lower then your balance. When do you chose to close losing positions?
I am the change in the market that causes you to lose :p / Watch out before I negative pip you! ^^
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 20, 2012 at 04:39
I wish I could build a system that always had the equity line above the balance line. It's quite difficult do you because the system would turn into a long term swing trading system that relies on monthly trends and not the every day volatility. I like the every day stuff so this system is scalping. The TakeProfit is 3 pips so it's virtually impossible to do that.

We're also on entry phase only - Capturing all the signals is our current objective.
ForexScam
forex_trader_32776
會員從Mar 28, 2011開始   1008帖子
Jun 20, 2012 at 18:37 (已編輯Jun 20, 2012 at 18:51)
I closed all positions after making several mistakes while hedging the open positions before FOMC. Everything would have worked wonderfully if I didn't touch anything. The account churned a balance of 140%gain and the equity curve would have caught up with the balance if i didn't intervene.

at 93 pips on thursday morning(1:50am my time) after FOMC statement - check later
會員從May 30, 2012開始   134帖子
Jun 20, 2012 at 18:44
Well built robot beats intervening in robots programmed work. The mistake here is merely human
I am the change in the market that causes you to lose :p / Watch out before I negative pip you! ^^
登錄 / 註冊 to comment
You must be connected to Myfxbook in order to leave a comment
*商業用途和垃圾郵件將不被容忍,並可能導致帳戶終止。
提示:發佈圖片/YouTube網址會自動嵌入到您的帖子中!
提示:鍵入@符號,自動完成參與此討論的用戶名。