Академический Документы
Профессиональный Документы
Культура Документы
Folks:
Some of you are making it too complicated. It's really quite simple.
GMT is GMT no matter when....
If I say for example open basket on Wednesday at 17:00 GMT then enter those very numbers in EA
OpenGMTHour="17:00"
_GMTDayOfWeek_ = Wednesday
Ok I understand that some of you want to interpret the open hour using your time or your broker's
time.
All u need to do is one step, calculate the GMT time of your time or your broker's. That is it, then u
just enter those very numbers into the EA.
In my case I live in GMT-8 (Pacific Time). So if I want my basket to open at my time around 18:00
Thursday.
I would first calculate the GMT time like this.
18:00 + 8 hrs (cause I am behind GMT by 8) = 02:00 Friday
So in the EA I then enter :
OpenGMTHour="02:00"
_GMTDayOfWeek_ = Friday
NOTE: Why Friday?? Cause when I added 8 to 18 I actually when beyond midnight into the next day.
So in summary, just keep it simple. If you have a doubt just ask someone that knows, and just get the
GMT time and GMT day.. That is all u need to know.
For those of us in the USA (and other areas too), Daylight Saving Time begins tomorrow (3/12/17)
and our clocks will be turned forward 1 hour. However, England does not switch to Daylight Saving
Time for another two weeks (3/26/17). This means that for the next two weeks London opening will
still be 08:00 GMT, and it will shift to 09:00 GMT on 3/27/2017.
For this Monday and next, you can use the same GMT setting in the EA and it will conform to the
same time (relative to London Open) as it has since this tread began. But beginning three Mondays
from now (3/27/2017), you will have to add one hour to the EA's start time (GMT) to have it initiate
your trades at the same relative time to the London Open.
Enjoy your weekend and be sure to spend quality time with your family and friends because while
we can always make up for lost pips, we can never make up for lost time.
Alberto:
The EA can open a basket on any day of the week. All you need to do is the following
Then go back and restart the EA with the settings you placed for those two variables above.
Make sure u set the hour correctly otherwise no dice
In order to do a complete reset you need to clear the EA's global variables.
Go to your chart, unload the EA, hit F3 (or click on Tools==>Global Variables)
On the window that pops up delete any variable that starts with "xm7".
Once that is done return to yer chart and reload the EA.
Folks: For those of u using EA v29-v31, make sure to reset the Broker Close hour. You can do this
anytime this week and you only need to do it once.
To reset the Broker Market Close hour just go into the GLobal Variables (Tools==> Global Variables or
hit F3) and delete the variable
xm7_BrokerFridayGMTCloseHour
Then reload the ccfp_weekly EA and that will set the close hour properly for the coming week.
You'll need to do this one more time when the Euro session shifts their hour in the next couple of
weeks. I forget the date.
All other versions you may have to manually close your baskets when the market closes. I think when
the Euro session moves their clock the GMT time will be
back and the markets will again close at 22:59 GMT. So the market close feature for your versions
should work again. Otherwise be vigilant, if u don't see it close the trades by 20 minutes before the
market closes, close them yourself.
Eventually none of you will need to bother cause I'll have EA v33 ready with this fix.
With that said... I think this is the last bug... and well we move on to publish the source code and I
become a trader again and make a lot of $$$$ with it lol...
Netgold777:
The profit lock stuff is actually Forexpinbars suggestion so you can ask him as well if I am not clear.
The way the profit lock and trailing lock work is like this:
Think of the input StartProfitLockAt is used once. It is how you tell the EA WHEN to start profitlocking
the basket.
So if StartProfitLockAt=100 that means that you just told the EA to start profit lock when the basket
reaches +100 pips.
That is it, once that happens the StartProfitLockAt input is used no more.
So with StartProfitLockAt=100 and once the basket reaches 100 pips then the profit for the basket is
locked at 50 pips.
How did I get 50 pips? Just divide the basket profit (100 pips) by 2.
After that the TrailingLockEvery input takes over. IT tells the EA when is the next moment that a new
lock should be set
So if TrailingLockEver=200. You just told the EA that every 200 pips the basket gains in profit from
then on to
move the lock up. Move it up to 1/2 of its current pip total.
So using the example if the basket moves 200 more pips from 100 (300 pips) then the lock is moved
from 50 pips to 150 pips (300/2)
Then the next profit lock is set to to happen 200 pips more from that spot or 500 pips (300+200). IF it
reaches 500 pips then the lock will be
moved from 150 pips to 250 pips (500/2). And so on.
Now I saw your inputs and man that is SOOO weird. You have set the StartProfitLockAt=1 pips and
the TrailingLockEver=10 pips.
LOL it was never meant to use shuch low levels cause with baskets you usually deal with alot bigger
pips.
Let me check the code but I think this is what I did. Since u set StartProfitLockAt the EA then ignores
the TP cause you are asking it to now
pay attention to locking the profit. So that is why I think your basket is not closed even after it went
500 pips.
Remind me if I don't get back with you.
PS: if u are using v31 the basket will close 20 minutes before the market close on Friday. 18.3 may
have the wrong time due to the DST shift, I have not verified that yet
The approach is real simple, this is based on what I have observed and the initial data that
forexpinbar provided,
TEKNIK PROVEN
HOURRA !!!!
if you keep testing this the setting is the same everydays ....
8GMT open ....
10080 false false
200 tp and 300 sl... no other features used !!
SETTING PROFIT
IDEA
Hi all......
So the results for last week was revealing good things for the Daily trading on weekly signals.
i wasn't using the rofit lock yet and let me tell you that it make part of my strategy now ....
why?????
look the difference ...
200 tp
300 sl
with no profit lock (no trade on friday NFP) 168 pips
with profit lock (150) 514 pips
SEE the difference ???
Have a great week end....
AleX
EA v36 release
http://xm7.info/ea/ccfp_weekly/xm7_C...onitor_v36.ex4
Remember to clear all globals manually.. hit F3 and remove all variables that start with "xm7"
Folks:
Many updates to this one. Alot do with improvements and others that handle weird situations. The
list is long so I will generalize and point out the important ones.
1. Update should handle the part where it leaves the PipGain stats on the chart after a basket has
closed. Note: if you unload the EA the chart will reset.
2. Many inputs names were changed for clarity and changed positions.
3. TargetPercentProfit was removed. A new input Set_Basket_SL_TP_Targets_in allows you to select if
you want to handle the TP/SL targets for the basket in pips or % of balance gain (see Image below)
4. Added Basket_Manual_Profit_Lock, this allows the user to set a Lock level that the EA will not
allow the basket to fall to before closing the trades. This can only be positive, so if your basket is
negative and you have this set, the EA will warn you and suggest that you use an alert to tell you
when the basket is positive so you can set the manual lock then
5. PipGain is now logged every 1M, so you now get a much smoother curve
6. Update now handles those timezones that are either 45 or 30 minutes off instead of a full hour.
7. Updated PrintDebugInfo. EA now prints debug info once ever hour. This way we don't get those
repetative prints and the logs won't get too large. (see image below)
Hope it helps.
I don't know if it will work. So have fun testing it. Look at the image for information on the inputs.
The Virtual basket works like this:
1. set UseVirtualBasket = True
2. Add an input to VirtualBasketTriggerLevel (it can be positive or negative)
The EA will open the virtual basket on the hour and day you inputted and keep track of it's pip count.
If VirtualBasketTriggerLevel set to less than 0 then the EA will open a real basket when the virtual
basket pip count = or less than VirtualBasketTriggerLevel
If VirtualBasketTriggerLevel set to greater than 0 then the EA will open a real basket when the virtual
basket pip count = or greater than VirtualBasketTriggerLevel
If you have UseVirtualBasket = True and leave VirtualBasketTriggerLevel =0 the EA will do nothing
when the hour appears
\
RESULT MONTHLY TRUE FALSE
Thank you Ferrufx for your valuable contribution.I managed to gather more info about your CCFp-Diff
indicator from some of your old posts on this thread
https://www.forexfactory.com/showthr...45#post2276745 for the benefit of our traders and readers.
MA
Ma-Method [0 to 3 are the possible options] - default 3, LWMA
Price settings [0 to 6 setting options available] - default 3, Weighted Closed price
TRADE LEVEL
Trade_level (1 to 10 are the possible options) Note this is a noise filter for sideways markets.
Trade_Level from 1 to 10 will match with the 10 colored squares(histogram) in the indicator column.
If you want to avoid small CCFp lines moves/differences, then you may want to trade only the pairs
with both currencies above a certain level.
Example if you set Trade_Level to "3": the indicator will give you a trade suggestion for (i.e) EURUSD
Buy only if EUR has at least 3 colored Green(histogram) and USD at least 3 colored Red(histogram).
These levels/squares(histogram) are based on the EXACT same calculation of the original CCFp
indicator. Ferrufx just x1000 and rounded the values to make it more readable.
37.1 EA
Hi, i see u ser it up to open at 00:00 gmt. Did u start the EA last nite after 00:00 gmt. Remember its
gmt not your local time. According to yer display u got like 15 hours to go for gmt 00:00. U can test it
by setting yer imput to 1 minute ahead. For example on yer display the gmt current hour is 19:05. In
that instant u could swt the day open hour to 19:06. Once the basket opens u will then be able to
closeit with the closw button. Just hit Reset EA button so u set yer input open hour for the next day
XMESS7—setup weekly-----CUN
So far I have 9 straight weeks of profit on my live account. The account has increased 82%.
This week was the first week that I had to close the basket with losses. This was an excellent
opportunity to
conduct a recovery. So to explain this is what happened:
Monday: -8.3%
Tuesday: -4.29%.
Wednesday: +13%.
Net result: 0.4%. ==> Mission accomplished, recuperated the loss and kept the profit streak
alive LOL.
Nothing complicated. I have a set stop which is -15%. If during the week my basket hits that
loss I stop and setup the EA for the following week.
Attached Image
Ma 5,,m12 = counter trend weekly