Pour utiliser le chat, veuillez vous connecter.
Retour aux contacts

PB&J - PAMM (de pipinvestmentbot )

Lutilisateur a supprimé ce système.

Discussion PB&J - PAMM

ForexScam
Jun 14 2012 at 09:05
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.
ForexScam
Jun 14 2012 at 11:22
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
ForexScam
Jun 15 2012 at 07:12
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.
stevewalker
stevewalker
Jun 15 2012 at 07:36
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.
ForexScam
Jun 15 2012 at 08:45
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.
stevewalker
stevewalker
Jun 15 2012 at 08:56
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
stevewalker
stevewalker
Jun 15 2012 at 08:59
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 ............................
ForexScam
Jun 15 2012 at 09:21
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
stevewalker
stevewalker
Jun 15 2012 at 09:25
posts 1439
any time.
knowledge is good thing when you share it.

good luck!
ForexScam
Jun 15 2012 at 09:43
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

stevewalker
stevewalker
Jun 15 2012 at 09:59
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.
ForexScam
Jun 15 2012 at 10:52
posts 1008
exactly. thanks again.
stevewalker
stevewalker
Jun 15 2012 at 11:03
posts 1439
ForexScam
Jun 18 2012 at 09:06
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
ForexScam
Jun 19 2012 at 07:05
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
ForexScam
Jun 19 2012 at 11:49
posts 1008
after one more trade, another 500+ pips today. Unbelievable. Trading long and short now
Financialarts
Jun 19 2012 at 17:12
posts 134
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
Jun 20 2012 at 04:39
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.
ForexScam
Jun 20 2012 at 18:37
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
Financialarts
Jun 20 2012 at 18:44
posts 134
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! ^^
Veuillez vous connecter pour commenter .