Activating EA

Dec 29, 2013 at 15:05
4,690流覽
120 Replies
會員從Nov 04, 2013開始   6帖子
Dec 29, 2013 at 15:05
Hi there

I have some EA's but I want to activate them on spicific times :

EA A1 on GBPUSD every Monday from 14:00 to 17:00
EA A2 EURUSD every Friday from 14:00 to 17:00 etc ...

Is there a soluiton to this ?
pumpingmonkey
forex_trader_168526
會員從Dec 19, 2013開始   126帖子
Jan 02, 2014 at 22:27
you could just put a few lines of simple code that cause your ea to NOT OPEN ANY NEW TRADES if we are not inside of a specific time window.

if(symbol()=='GBPUSD' && (hour<14 || hour>17) return(0);

if(symbol()=='EURUSD' && (hour<14 || hour>17) return(0);

something like that, perhaps?

會員從Nov 21, 2011開始   1718帖子
Jan 03, 2014 at 02:43
Yes it can be done in few lines code.

Do not copy paste the example given above as it is wrong and incomplete.
pumpingmonkey
forex_trader_168526
會員從Dec 19, 2013開始   126帖子
Jan 03, 2014 at 04:43
CrazyTrader posted:
Yes it can be done in few lines code.

Do not copy paste the example given above as it is wrong and incomplete.

here come the script kiddies again.

probably oanda ping pong night went into overtime or whatever and crazytrader now thinks that he is a coder.

omg.



TheSmokedAce
forex_trader_163226
會員從Nov 19, 2013開始   67帖子
Jan 03, 2014 at 12:58
amazing, no matter where you post your starting a fight
pumpingmonkey
forex_trader_168526
會員從Dec 19, 2013開始   126帖子
Jan 03, 2014 at 13:54
IS SMOKEDACE TRYING TO HURYT MY FEELINGS?

I DO HOPE THAT DOESNT INTERFERE WITH HIS HANDLING HIS TWO DEMO ACCOUNTS..

OMG.
TheSmokedAce
forex_trader_163226
會員從Nov 19, 2013開始   67帖子
Jan 04, 2014 at 14:03
nobody is trying to hurt your feelings, I am just stating facts that every one of your posts is not helpful just insulting and starting a fight tone.

thats my 2 cents
TheSmokedAce
forex_trader_163226
會員從Nov 19, 2013開始   67帖子
Jan 04, 2014 at 14:03
go back to cornering the market
pumpingmonkey
forex_trader_168526
會員從Dec 19, 2013開始   126帖子
Jan 04, 2014 at 18:09 (已編輯Jan 04, 2014 at 18:09)
good morning to the script kiddies.

those two demo accounts that smokedace is running are very nice, both hogg wild and boss hogg, lmfao..

thank you for inquiring about my efforts to corner the currency markets.

my work is now finished, whereas your work has not even stuck it's head out of the starting gate yet.

hint: i get an immediate erection when you script kiddies bite at my heels, so do please carry on.

at my age, i enjoy becoming aroused, no matter how it happens.

yay.

i do hope that was pleasant enough for mr amateurhour smokedaces..

i am beginning to like her.

zero/.
.
.
pumpingmonkey
forex_trader_168526
會員從Dec 19, 2013開始   126帖子
Jan 04, 2014 at 20:44 (已編輯Jan 04, 2014 at 20:48)
for the longest time, i would actually engage these retarded forum troll script kiddies...

you see, the problem is that they are attempting to bully me, and this just simply is not going to wash..

i am a pure professional at this business of programming, and for the most part they are not.

my initial response in this thread was delivered as pseudo code.

pseudo code is the equivalent of a ROUGH DRAFT for programmers.

IF THE EXAMPLE CODE THAT I POSTED ABOVE WERE INTENDED TO BE RECEIVED AS BUG FREE AND PROPERLY COMPILABLE CODE, THEN IT WOULD OBVIOUSLY HAVE ALL OF THE PROPER FUNCTION DECLARATIONS AND VARIABLE DECLARATIONS AND THE OBVIOUSLY REQUIRED HEADER INCLUDES AT THE TOP OF THE FILE..

I AM A PROGRAMMER WITH THIRTY YEARS OF LOW LEVEL CODING EXPERIENCE..

I WILL GUESS THAT CRAZYTRADER HAS LESS THAN THIRTY DAYS OF CODING EXPERIENCE.

i wish to assure the script kiddies, especially mr crazytrader, that he was being rude when he instructed the entire community to not use my code.



THIS IS HOW THE SCRIPT KIDDIES/TROLLS ATTACK IN THE FORUMS...

FIRST, THEY TOSS INSULTS AND THEN THERE REALLY IS NO PROPER WAY FOR ME TO RESPOND...

EXCEPT FOR ME TO INFORM THEM THAT THEY DO NOT AND WILL NOT RUN ANY ASPECT OF MY TRADING OPERATION.

THE SCRIPT KIDDIES WILL NOT SLING INSULTS EACH AND EVERY TIME THAT I POST OR BLINK.

HINT: OANDA BLAMES ME FOR THEIR BANKRUPTCY.

HINT: OANDA HAS A BUNCH OF SNOT NOSED BABIES ON IT'S PAYROLL.


when i first crossed paths with crazytrader, i wrote some basic javascript code that HE COULD NOT GET TO LOAD.

any monkey can load javascript.

crazytrader has no room to criticize me or my work.

crazytrader's PATTERN BULLSHT THREAD is precisely that, bullsht.

he has no myfxbook chart AND he has no running tally of his trades that he makes available to those that read his thread.

THIS ADDS UP TO BULLSHT AND QUITE POSSIBLY SCAM AND QUITE POSSIBLY CRIMINAL INTENT.

trading will continue sunday at 6pm est.

your trading pal,

zero/.


MY TRADING JOURNAL: https://www.myfxbook.com/community/experienced-traders/project-grail/686678,1
.
.
會員從Nov 21, 2011開始   1718帖子
Jan 04, 2014 at 23:26
Even with 30 days experienced coding... I could have said the same. 'Wrong and incomplete'.
You have 30 years of experience and you can't even write one line code correctly. You can't even see what's wrong.
Then you pretend to have grail software predicting top and bottom on AUDNZD... Over 1 year bearish trend.



Regarding my thread on my own Pattern is just 100 times more valuable.


Last Pattern occured on EURUSD on 31/12/2013 is nearly 300 pips in a week.


What else?


Ps:
Get a life and stop being hurt like a kiddo
Don't be upset if I don't reply anymore to you.
pumpingmonkey
forex_trader_168526
會員從Dec 19, 2013開始   126帖子
Jan 04, 2014 at 23:37
😲
pumpingmonkey
forex_trader_168526
會員從Dec 19, 2013開始   126帖子
Jan 05, 2014 at 00:25 (已編輯Jan 05, 2014 at 00:26)
CrazyTrader posted:
Get a life and stop being hurt like a kiddo
Don't be upset if I don't reply anymore to you.

YOUR MYSTERY PATTERN CHARTS ARE NOT TRADEABLE.

IF THEY WERE TRADEABLE, YOU WOULD TRADE THEM...

I AM SURE THAT IF YOU ARE TO PLACE ACTUAL TRADES, IT WILL VERY QUICKLY BECOME OBVIOUS THAT YOUR AMAZING PATTERN IS ACTUALLY LITTLE MORE THAN SOME AMAZING BULLSHT.

trading will continue sunday at 6pm est.

zero/.
.
.
my trading journal: https://www.myfxbook.com/community/experienced-traders/project-grail/686678,1
.
.
會員從Nov 21, 2011開始   1718帖子
Jan 05, 2014 at 00:53
pumpingmonkey posted:
if(symbol()=='GBPUSD' && (hour<14 || hour>17) return(0);

if(symbol()=='EURUSD' && (hour<14 || hour>17) return(0);

something like that, perhaps?


if(symbol()=='GBPUSD' && TimeDayOfWeek(TimeCurrent()) == 1 && (hour<14 || hour>17) return(0);

if(symbol()=='EURUSD' && TimeDayOfWeek(TimeCurrent()) == 5 && (hour<14 || hour>17) return(0);

something like that, perhaps?
會員從Nov 21, 2011開始   1718帖子
Jan 05, 2014 at 00:57
pumpingmonkey posted:

YOUR MYSTERY PATTERN CHARTS ARE NOT TRADEABLE.

IF THEY WERE TRADEABLE, YOU WOULD TRADE THEM...


How said I don't trade my own pattern lol?

if you have difficulties to understand this... let me know I can help you.
https://crazytraderfx.blogspot.fr/2013/09/new-pattern.html

會員從Feb 23, 2013開始   28帖子
Jan 05, 2014 at 01:03

without wanting to interfere, but the pseudo-code was good enough ... better than


if(symbol()=='GBPUSD' && TimeDayOfWeek(TimeCurrent()) == 1 && (hour<14 || hour>17) return(0);

if(symbol()=='EURUSD' && TimeDayOfWeek(TimeCurrent()) == 5 && (hour<14 || hour>17) return(0);

會員從Nov 21, 2011開始   1718帖子
Jan 05, 2014 at 01:21
'I have some EA's but I want to activate them on spicific times :

EA A1 on GBPUSD every Monday from 14:00 to 17:00
EA A2 EURUSD every Friday from 14:00 to 17:00 etc ...'
會員從Feb 23, 2013開始   28帖子
Jan 05, 2014 at 01:24
ok, you are right, i missed the monday-friday-part 😳
會員從Nov 21, 2011開始   1718帖子
Jan 05, 2014 at 01:27
This is the only reason I said it was incomplete.

The noob coder VS The 30 years coder: 1 - 0

o_O

pumpingmonkey
forex_trader_168526
會員從Dec 19, 2013開始   126帖子
Jan 05, 2014 at 05:45
😎
登錄 / 註冊 to comment
You must be connected to Myfxbook in order to leave a comment
*商業用途和垃圾郵件將不被容忍,並可能導致帳戶終止。
提示:發佈圖片/YouTube網址會自動嵌入到您的帖子中!
提示:鍵入@符號,自動完成參與此討論的用戶名。