PB&J - PAMM (de forex_trader_33635)
Lutilisateur a supprimé ce système.
Edit Your Comment
Discussion PB&J - PAMM
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 14, 2012 at 09:05
Membre depuis Mar 28, 2011
posts 1008
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.
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 14, 2012 at 11:22
Membre depuis Mar 28, 2011
posts 1008
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
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
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 15, 2012 at 07:12
Membre depuis Mar 28, 2011
posts 1008
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.
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.
forex_trader_79941
Membre depuis Jun 06, 2012
posts 1439
Jun 15, 2012 at 07:36
Membre depuis Jun 06, 2012
posts 1439
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.
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 15, 2012 at 08:45
Membre depuis Mar 28, 2011
posts 1008
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.
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.
forex_trader_79941
Membre depuis Jun 06, 2012
posts 1439
Jun 15, 2012 at 08:56
(édité Jun 15, 2012 at 08:57)
Membre depuis Jun 06, 2012
posts 1439
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
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
forex_trader_79941
Membre depuis Jun 06, 2012
posts 1439
Jun 15, 2012 at 08:59
Membre depuis Jun 06, 2012
posts 1439
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 ............................
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 ............................
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 15, 2012 at 09:21
Membre depuis Mar 28, 2011
posts 1008
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
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
forex_trader_79941
Membre depuis Jun 06, 2012
posts 1439
Jun 15, 2012 at 09:25
Membre depuis Jun 06, 2012
posts 1439
any time.
knowledge is good thing when you share it.
good luck!
knowledge is good thing when you share it.
good luck!
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 15, 2012 at 09:43
(édité Jun 15, 2012 at 09:45)
Membre depuis Mar 28, 2011
posts 1008
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
forex_trader_79941
Membre depuis Jun 06, 2012
posts 1439
Jun 15, 2012 at 09:59
(édité Jun 15, 2012 at 10:00)
Membre depuis Jun 06, 2012
posts 1439
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.
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.
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
forex_trader_79941
Membre depuis Jun 06, 2012
posts 1439
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 18, 2012 at 09:06
Membre depuis Mar 28, 2011
posts 1008
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
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
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 19, 2012 at 07:05
Membre depuis Mar 28, 2011
posts 1008
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
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 19, 2012 at 11:49
Membre depuis Mar 28, 2011
posts 1008
after one more trade, another 500+ pips today. Unbelievable. Trading long and short now
Membre depuis May 30, 2012
posts 134
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 20, 2012 at 04:39
Membre depuis Mar 28, 2011
posts 1008
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.
We're also on entry phase only - Capturing all the signals is our current objective.
forex_trader_32776
Membre depuis Mar 28, 2011
posts 1008
Jun 20, 2012 at 18:37
(édité Jun 20, 2012 at 18:51)
Membre depuis Mar 28, 2011
posts 1008
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
at 93 pips on thursday morning(1:50am my time) after FOMC statement - check later
Membre depuis May 30, 2012
posts 134
*Lutilisation commerciale et le spam ne seront pas tolérés et peuvent entraîner la fermeture du compte.
Conseil : Poster une image/une url YouTube sera automatiquement intégrée dans votre message!
Conseil : Tapez le signe @ pour compléter automatiquement un nom dutilisateur participant à cette discussion.