- Domov
- Komunita
- Programovanie
- Activating EA
Edit Your Comment
Activating EA
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 05, 2014 at 06:05
(upravené Jan 05, 2014 at 06:07)
Členom od Dec 19, 2013
126 príspevkov
-
#1) THERE IS A RIGHT PARENTHESIS MISSING IN BOTH OF ABOVE STMTS.
#2) THE BELOW METHOD IS SLIGHTLY MORE GRACEFUL, AND ACTUALLY WORKS PRECISELY AS REQUESTED.
int flag=0;
if(symbol()=='GBPUSD' && TimeDayOfWeek(TimeCurrent()) == 1 && hour>=14 && hour<=17) flag=1;
if(symbol()=='EURUSD' && TimeDayOfWeek(TimeCurrent()) == 5 && hour>=14 && hour<=17) flag=2;
switch(flag)
{
case 1: run(ea1);
break;
case 2: run(ea2);
break;
default: //do something else here...
//either fall thru or break...
}//switch
CrazyTrader posted:
'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 ...'
johnnycash posted:
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);
#1) THERE IS A RIGHT PARENTHESIS MISSING IN BOTH OF ABOVE STMTS.
#2) THE BELOW METHOD IS SLIGHTLY MORE GRACEFUL, AND ACTUALLY WORKS PRECISELY AS REQUESTED.
int flag=0;
if(symbol()=='GBPUSD' && TimeDayOfWeek(TimeCurrent()) == 1 && hour>=14 && hour<=17) flag=1;
if(symbol()=='EURUSD' && TimeDayOfWeek(TimeCurrent()) == 5 && hour>=14 && hour<=17) flag=2;
switch(flag)
{
case 1: run(ea1);
break;
case 2: run(ea2);
break;
default: //do something else here...
//either fall thru or break...
}//switch
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 05, 2014 at 06:14
Členom od Dec 19, 2013
126 príspevkov
.
.
or, if i wanted to show the code that would be inserted at the top of ea1, it might look like this:
int flag=0;
if(symbol()=='GBPUSD' && TimeDayOfWeek(TimeCurrent()) == 1 && hour>=14 && hour<=17) flag=1;
if(flag==0) return(0);
.
.
.
or, if i wanted to show the code that would be inserted at the top of ea1, it might look like this:
int flag=0;
if(symbol()=='GBPUSD' && TimeDayOfWeek(TimeCurrent()) == 1 && hour>=14 && hour<=17) flag=1;
if(flag==0) return(0);
.
.
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 05, 2014 at 06:17
Členom od Dec 19, 2013
126 príspevkov
and, actually, that isnt right either...
tomorrow we fight again.
get up early.
😎
tomorrow we fight again.
get up early.
😎
Členom od Nov 23, 2013
24 príspevkov
Jan 05, 2014 at 07:55
Členom od Nov 23, 2013
24 príspevkov
Pumpingmonkey.. you try too hard...
If you don't have time to trade, let us do it for you!
forex_trader_163226
Členom od Nov 19, 2013
67 príspevkov
Jan 05, 2014 at 07:56
Členom od Nov 19, 2013
67 príspevkov
Im so sorry to hear that its hard for you to well get hard...
I know you are a frustrated little man who wants people to only praise him, but not give opinions that stray away from your diluted way of thinking.
You want people to sit on your board of directors, dude your 'company' has made less than 70$, and the reason you dont want to show results, is bc the equity curve is UGLY... I have been reading your thoughts... ur a keyboard bully, who wishes he was a great trader...
Have fun driving your lambo.... I didnt know hotwheels came out with a lambo
Your buddy
I know you are a frustrated little man who wants people to only praise him, but not give opinions that stray away from your diluted way of thinking.
You want people to sit on your board of directors, dude your 'company' has made less than 70$, and the reason you dont want to show results, is bc the equity curve is UGLY... I have been reading your thoughts... ur a keyboard bully, who wishes he was a great trader...
Have fun driving your lambo.... I didnt know hotwheels came out with a lambo
Your buddy
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 05, 2014 at 15:05
(upravené Jan 05, 2014 at 15:07)
Členom od Dec 19, 2013
126 príspevkov
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 05, 2014 at 15:12
Členom od Dec 19, 2013
126 príspevkov
FYI, THEY BEGAN HATING ON ME AT THE OANDA FORUM WHEN I REFUSED TO SHARE MY SOFTWARE WITH THE OTHERS IN THE FORUM...
CAN WE SEE YOUR WORK, THEY ASKED ME...
I WOULD RATHER NOT, WAS MY RESPONSE.
THEY QUICKLY INFORMED ME THAT IF I HAD NO INTENT TO SHARE MY WORK AND TO BE A PART OF THE CROWD THAT I DID NOT BELONG IN THEIR FORUM.
AND THEN MY ACCOUNT AT THEIR FORUM WOULD BE CANCELLED AND I WOULD JUST KEEP COMING BACK.
PHK THEM.
NOTICE THAT SO MANY THINK THAT THIS TRADING FORUM STUFF IS ALL ABOUT THE SHARING AND SELLING OF EAS.
MY EA IS FOR SHARING WITH NONE OF YOU.
YOU GET NOTHING.
NOTHING FOR YOU.
NO SOUP FOR YOU.
ZERO//.
CAN WE SEE YOUR WORK, THEY ASKED ME...
I WOULD RATHER NOT, WAS MY RESPONSE.
THEY QUICKLY INFORMED ME THAT IF I HAD NO INTENT TO SHARE MY WORK AND TO BE A PART OF THE CROWD THAT I DID NOT BELONG IN THEIR FORUM.
AND THEN MY ACCOUNT AT THEIR FORUM WOULD BE CANCELLED AND I WOULD JUST KEEP COMING BACK.
PHK THEM.
NOTICE THAT SO MANY THINK THAT THIS TRADING FORUM STUFF IS ALL ABOUT THE SHARING AND SELLING OF EAS.
MY EA IS FOR SHARING WITH NONE OF YOU.
YOU GET NOTHING.
NOTHING FOR YOU.
NO SOUP FOR YOU.
ZERO//.
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 05, 2014 at 15:16
Členom od Dec 19, 2013
126 príspevkov
NOTICE HOW I REMAIN FOCUSED ON THE SUCCESS OF MY WORK.
NOTICE ALSO HOW THEY KNIT PICK ABOUT SEMANTICS AND OTHER BULLSHT.
NOTICE HOW THEY BTCH ABOUT ENTIRE BULLSHT.
I FOCUS ON SUCCESS.
I FOCUS ON SUCCESS.
ZERO/.
.
.
NOTICE ALSO HOW THEY KNIT PICK ABOUT SEMANTICS AND OTHER BULLSHT.
NOTICE HOW THEY BTCH ABOUT ENTIRE BULLSHT.
I FOCUS ON SUCCESS.
I FOCUS ON SUCCESS.
ZERO/.
.
.
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 05, 2014 at 15:18
Členom od Dec 19, 2013
126 príspevkov
TheSmokedAce posted:
Im so sorry to hear that its hard for you to well get hard...
MY POINT EXACTLY.
Členom od Nov 21, 2011
1718 príspevkov
Jan 05, 2014 at 16:36
Členom od Nov 21, 2011
1718 príspevkov
pumpingmonkey posted:
I WILL KEEP TRADING.
SIT STILL AND WAIT TO SEE WHO WINS FIRST.
Lol... trading is not about winning first...but just last forever.
Why you spam forum if you are here not to share anything with anyone? Just talk to yourself then.
Why do you keep saying 'market will open in x hour' Do you really think we rely on you to know that.
You're getting funy.
Ps:
I will keep trading
So you know, market opens soon : )
Členom od Feb 23, 2013
28 príspevkov
Jan 05, 2014 at 16:52
Členom od Feb 23, 2013
28 príspevkov
seriously, just leave him alone ... its obvious that he suffers some kind of braindamage
Členom od Oct 24, 2013
268 príspevkov
Jan 05, 2014 at 19:50
Členom od Oct 24, 2013
268 príspevkov
CrazyTrader, didn't your Mother teach you not to pick on or make fun of those who are less fortunate than you?
Please leave him alone. He is not hurting anyone because the profound stupidity of his work is so blatantly obvious to even the most inexperienced of traders. (Not to mention a constant source of entertainment to me.)
For the last 10 years this poor Gentleman has been trying in vain to prove his superiority through insults and incoherent ramblings, blissfully unaware of the lunacy of his own behaviour.
Lets just examine some of the behavioural traits shall we.
Delusional-
-Believes he is personally responsible for creating one of the most successful systems in the market and yet he continues to loose.
-Has a small winning streak (if you can call so few trades a streak) and proclaims to have the Holy Grail.
-Insults and belittles everybody and believes he is the victim
-Continues to do the same dumb things over and over expecting a different outcome to what has historically resulted
Paranoid-
-Believes that the perfect system created by him was stolen form him (by guess who, check it out!!) yet inexplicably he is unable to reproduce it
-Believes every member of every forum he joins has it in for him (could be some truth here)
Controlling-
You will notice that he derives his greatest pleasure from enticing victims into his threads with ludicrous claims and outbursts. He is then able to block them satisfying his desire to dominate and control (Small Penis Syndrome??)
Narcissistic-
-Has never been wrong.... if only we could just understand his higher thinking
-Frequently fantasizes of himself in a Ferrari when he is only able to afford a bus fare
Abandonment Issues-
-If you recall this rather bizarre behaviour commenced shortly after a relationship breakdown and the resulting loss of his job due to his inability to perform to a satisfactory level.
-Could have gender issues as well. You will note that quite frequently he incorrectly identifies obviously male forum members as girls.
Sadly there is a great measure of truth to all that I have written. His response when challenged is predictable. There will be mention of kiddys and girls and hair pulling and possibly a number of childish pictures to express his inner rage but unfortunately for him he is unable to block people from this thread. That's going to smart. He may throw a tantrum at this post and when I don't respond to his childissh taunts that's going to eat him up.
If you're in the least bit smart @pumpingmonkey you'll back away now and leave well enough alone. There's nothing you can do. Just chill and walk away. Please be man enough to do that? Please display one of the most important characteristics of a Trader.
SELF CONTROL
Can you do that?
Please leave him alone. He is not hurting anyone because the profound stupidity of his work is so blatantly obvious to even the most inexperienced of traders. (Not to mention a constant source of entertainment to me.)
For the last 10 years this poor Gentleman has been trying in vain to prove his superiority through insults and incoherent ramblings, blissfully unaware of the lunacy of his own behaviour.
Lets just examine some of the behavioural traits shall we.
Delusional-
-Believes he is personally responsible for creating one of the most successful systems in the market and yet he continues to loose.
-Has a small winning streak (if you can call so few trades a streak) and proclaims to have the Holy Grail.
-Insults and belittles everybody and believes he is the victim
-Continues to do the same dumb things over and over expecting a different outcome to what has historically resulted
Paranoid-
-Believes that the perfect system created by him was stolen form him (by guess who, check it out!!) yet inexplicably he is unable to reproduce it
-Believes every member of every forum he joins has it in for him (could be some truth here)
Controlling-
You will notice that he derives his greatest pleasure from enticing victims into his threads with ludicrous claims and outbursts. He is then able to block them satisfying his desire to dominate and control (Small Penis Syndrome??)
Narcissistic-
-Has never been wrong.... if only we could just understand his higher thinking
-Frequently fantasizes of himself in a Ferrari when he is only able to afford a bus fare
Abandonment Issues-
-If you recall this rather bizarre behaviour commenced shortly after a relationship breakdown and the resulting loss of his job due to his inability to perform to a satisfactory level.
-Could have gender issues as well. You will note that quite frequently he incorrectly identifies obviously male forum members as girls.
Sadly there is a great measure of truth to all that I have written. His response when challenged is predictable. There will be mention of kiddys and girls and hair pulling and possibly a number of childish pictures to express his inner rage but unfortunately for him he is unable to block people from this thread. That's going to smart. He may throw a tantrum at this post and when I don't respond to his childissh taunts that's going to eat him up.
If you're in the least bit smart @pumpingmonkey you'll back away now and leave well enough alone. There's nothing you can do. Just chill and walk away. Please be man enough to do that? Please display one of the most important characteristics of a Trader.
SELF CONTROL
Can you do that?
You can't spend open trades.
Členom od Nov 23, 2013
24 príspevkov
Jan 05, 2014 at 19:56
Členom od Nov 23, 2013
24 príspevkov
Pumpingmonkey, please stop crying about anything and everything.. just get on with your own stuff and stop trying to act all high and mighty, especially when you have nothing to show for it...
If you don't have time to trade, let us do it for you!
forex_trader_163226
Členom od Nov 19, 2013
67 príspevkov
Jan 05, 2014 at 19:57
Členom od Nov 19, 2013
67 príspevkov
Aww you remind me of my two month old puppy, he also wants to be praised and given positive attention.
Forex forums are all about sharing information, not posting stupid trades and telling us how your cornering a market.
Myfxbook doesnt have a journal section, you just decided to make a thread for yourself and write things... Im shocked you dont have a shopping list for groceries here, or meds.. (maybe the list is too long,)
If you want praise, then attach your account, trade it, and when it becomes obvious to us script kiddies how your a smartest trader in the world we will praise you and send you our money to invest...
but instead your trying to shove it down our throat... and then wonder why you are the loser kid who nobody wants to play with.
I am starting to notice more and more reasons why your divorced... ( yes I read all your threads)
BTW, OANDA is not bankrupt, and is doing pretty well, in fact, here is something interesting.
If you hate them so much, why dont you go trade on their platform and take all their money.. thats a great way to make them pay for their ignorance... dont you think??
and then to add insule to their stupidity, buy the company and put your buddy chikot on the board... im sure he would love to get out of the cold tundra that is Canada and go down south where its warm.
Your buddy
Forex forums are all about sharing information, not posting stupid trades and telling us how your cornering a market.
Myfxbook doesnt have a journal section, you just decided to make a thread for yourself and write things... Im shocked you dont have a shopping list for groceries here, or meds.. (maybe the list is too long,)
If you want praise, then attach your account, trade it, and when it becomes obvious to us script kiddies how your a smartest trader in the world we will praise you and send you our money to invest...
but instead your trying to shove it down our throat... and then wonder why you are the loser kid who nobody wants to play with.
I am starting to notice more and more reasons why your divorced... ( yes I read all your threads)
BTW, OANDA is not bankrupt, and is doing pretty well, in fact, here is something interesting.
If you hate them so much, why dont you go trade on their platform and take all their money.. thats a great way to make them pay for their ignorance... dont you think??
and then to add insule to their stupidity, buy the company and put your buddy chikot on the board... im sure he would love to get out of the cold tundra that is Canada and go down south where its warm.
Your buddy
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Členom od Jun 03, 2010
696 príspevkov
Jan 06, 2014 at 18:00
Členom od Jun 03, 2010
696 príspevkov
CasholeLTD posted:
Pumpingmonkey, please stop crying about anything and everything.. just get on with your own stuff and stop trying to act all high and mighty, especially when you have nothing to show for it...
True
TheSmokedAce posted:
Aww you remind me of my two month old puppy, he also wants to be praised and given positive attention.
True
PAMM MANAGER // Professional Fund Manager
Členom od Nov 21, 2011
1718 príspevkov
Jan 07, 2014 at 02:58
Členom od Nov 21, 2011
1718 príspevkov
I hadn't to wait so long to take a trade on my Pattern.
End of Bullish Pattern: PRZ (Potential Reversal Zone). => Shorted NZDUSD @ 0.8299
This PRZ provides such a very accurate entry price that a SL with 10 pips is enough.
So the Risk/Reward with this pattern is just amazing.
Now let's Breakeven
Crazytrader... not that insane. o_O
End of Bullish Pattern: PRZ (Potential Reversal Zone). => Shorted NZDUSD @ 0.8299
This PRZ provides such a very accurate entry price that a SL with 10 pips is enough.
So the Risk/Reward with this pattern is just amazing.
Now let's Breakeven
Crazytrader... not that insane. o_O
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 07, 2014 at 04:13
Členom od Dec 19, 2013
126 príspevkov
CRAZYTRADER'S PATTERNS ARE NOT TRADEABLE, NO MORE TRADEABLE THAN FLIPPING A COIN.
HIS PATTERNS ARENT EVEN PATTERNS.
IF THEY WERE TRADEABLE, HE WOULD SHOW THE BALANCE AND EQUITY AND THE ENTIRE TERMINAL OF HIS METATRADER.
HE IS NOT TRADING.
HE IS TALKING ABOUT TRADING.
TALKING ABOUT TRADING AND NOT ACTUALLY TRADING TRANSLATES TO BULLSHT.
ZERO/.
forex_trader_168526
Členom od Dec 19, 2013
126 príspevkov
Jan 07, 2014 at 04:19
Členom od Dec 19, 2013
126 príspevkov
OANDA IS BANKRUPT.
THE SCRIPT KIDDIES THAT WORK THERE HATE IT WHEN I SAY THAT.
TAKE A LOOK AT THE OANDA FORUM...
....IT IS LIKE A GHOST TOWN... MANY SECTIONS ARE DEAD FOR WEEKS AT A TIME...
THEIR API IS IN THE CRAPPER... ALL VERSIONS OF THEIR API, INCLUDING THEIR ROLLOUT OF METATRADER IS RIDDLED WITH BUGS.
I AM NOT MAKING THIS UP WHN I SAY THAT THEY ARE BANKRUPT.
THEY MAY VERY WELL NOT BE BELLY UP, AS IN OUT OF MONEY, BUT THEIR COMPANY IS LIKE A GHOST TOWN, ALMOST ALL TRADERS HAVE ABANDONED SHIP.
...
THE SCRIPT KIDDIES THAT WORK THERE HATE IT WHEN I SAY THAT.
TAKE A LOOK AT THE OANDA FORUM...
....IT IS LIKE A GHOST TOWN... MANY SECTIONS ARE DEAD FOR WEEKS AT A TIME...
THEIR API IS IN THE CRAPPER... ALL VERSIONS OF THEIR API, INCLUDING THEIR ROLLOUT OF METATRADER IS RIDDLED WITH BUGS.
I AM NOT MAKING THIS UP WHN I SAY THAT THEY ARE BANKRUPT.
THEY MAY VERY WELL NOT BE BELLY UP, AS IN OUT OF MONEY, BUT THEIR COMPANY IS LIKE A GHOST TOWN, ALMOST ALL TRADERS HAVE ABANDONED SHIP.
...
forex_trader_163226
Členom od Nov 19, 2013
67 príspevkov
Jan 07, 2014 at 08:27
Členom od Nov 19, 2013
67 príspevkov
CrazyTrader,
thats pretty cool, PRZ zone is that harmonics?
thats pretty cool, PRZ zone is that harmonics?
*Komerčné použitie a spam nebudú tolerované a môžu viesť k zrušeniu účtu.
Tip: Uverejnením adresy URL obrázku /služby YouTube sa automaticky vloží do vášho príspevku!
Tip: Zadajte znak @, aby ste automaticky vyplnili meno používateľa, ktorý sa zúčastňuje tejto diskusie.