ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Place your new trading idea here to see if someone can automate it.
Post Reply
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by Baluda »

coolncalm wrote:You know, I was just wondering the exact same thing!
It must be based on either the NB10.2 or NB10.2a code as CTS EA is yet to be fully coded... but why will an NB trade be countertrend? Hmm, I guess we should ask Baluda about this one.
CC,

The 'Long' and 'Short' messages in the CTSHPTP column are signals generated by CTS logic. I know now they are not allways correct.

Paul
Check the MQL4 Market for my best EA's and Indicators.
disbellj

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by disbellj »

Hello everyone,

Here is an indicator I have been working on last three days straight. It is from an existing indicator I made long ago and updated for CTS strategy. It lists the following information for all pairs:
1. Pivot information (if turned on in Inputs) and Market Bias
2. Emerging Pivot information (if turned on in Inputs) and Emerging Market Bias
3. TmaTrueSlope Momentum *starting at 0.8
4. TmaTrueSlope Entry *starting at 0.55 (to makes the 0.8 momentum an unneeded duplicate, and this momentum level the last condition for entry)
5. Price Cross Pivot (this is a condition for entry, after Semafors IMHO). If I have misunderstood and am looking instead for pivots crossing each other, then this step would be unneeded since Market Bias and Emerging Market Bias define pivot position, correct? Need clarification.
6. HPTP (Tma Band nearness by user input pips) condition and entry (entry is TmaSlopeEntry, so HPTP is a condition before entry, so IMHO TmaTrueSlope Entry is the last condition before entry).
7. Semafors (T for Top, B for Bottom). Other than H1 timeframe 96 period Semafor used for ranging, I am unsure how this is used. I think CC said something about in trends, the upper timeframes have Semafors (would this be 96 period Semafors on higher timeframes, or 12/13 period Semafor on higher timeframes? It was set for 96 period in previous EA, but 12 period in this indicator for higher timeframes. Need clarification.) IMHO this is the first condition for entry. Need clarification.
8. SMA entry if used in Inputs. Supposedly below for buy. But upon futher posts by CC it seems above for HPTP buy trade (e.g. Semafor, then HPTP/Tma Bands, then Price cross Pivot or Emerging Pivot, and price would have crossed/be above 20 SMA). Below when for buy? Re-entry? Need clarification.

Although I literally do not know where money is coming from next week, I worked on this this week. I ran out of emergency unemployment this week, and since I'd rather code and learn to trade better and not go back to a 15 year computer graphics (printing) and 8.5 year color management careers, and I believe in this strategy that it can make me the $275 a week I've grown meagerly accustomed to, I coded this week. Hope you like and find it useful until the next update. I would ask for donation at individual's discretion, but I don't know how to go about it and if Steve would mind. Just never been a salesman, never known how to sell myself/my services, just been the go-to guy for so long to fix problems. The grunt ;) If it weren't for the bankers stealing half of Americans wealth with the stroke of a pen in 2008, I would have stayed a happy grunt that never thought much about money, just paid my bills. But since they did, it changed my family's life and you could say I've been stuyig MQL4 and Forex for 5 years come November 7th, but been on strike, or maybe a studying sabatical from corporate America became unemployed in 2011 (worked up to by my father losing half his life savings in 2008 in a "conservative" retirement account, I lost half my home's value in one year 2009-2010, and became unemployed in 2011). I withdrew my retirement and either spent or lost it trading Forex, and now owe the IRS thousands. Mmmm God is still good in spite of it all.

BTW, if there is anything not yet implemented, it's because I am unsure of how to implement it or haven't gotten to it.

Kindest regards all,

Don
You do not have the required permissions to view the files attached to this post.
Last edited by disbellj on Sat Oct 27, 2012 4:24 am, edited 1 time in total.
disbellj

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by disbellj »

Thanks to the DWM indicator, I was able to get code to add sunday to monday candle. This affects all pivot calculations, so should use this update.

Also, as I mentioned in another thread, I was having trouble getting news time correctly with existing indicators so added a couple buffers I use (1 and 2) to SonicR FFCal Headlines and renamed it SonicR FFCal Headlines_Don, and it is used in this indicator code, but is not seen on chart at this time. Although it looks like news gives the trades power to move, we get in before the move. So news indicator may not be needed for this strategy ever. It is used for others though, so I like the code to be correct. Attached is my hack of the SonicR FFCal Headlines indicator to get the time displayed for first two lines for my indicators/EAs to be correct since I couldn't get correct info from buffer 0 (the only buffer in the indicator). I used SonicR FFCal Headlines as the base for mine simply because what it says matches Forex Factory calendar, unlike the others I've used, and also does so without user intervention for GMT offset. I am uploading .mq4 since it looks like you all share here well, and so that others can use it to fix a problem if needed, and because the code for NewsHandling function in AllPairs indicator contains code for how I call the revised custom indicator and what I do when I get those vales.

Kindest regards,

Don
You do not have the required permissions to view the files attached to this post.
fire580
Trader
Posts: 314
Joined: Wed May 09, 2012 4:51 pm

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by fire580 »

disbellj - If this works like it looks - you have created a heck of an indicator....am looking forward to working with it. Thanks for all your hard work.
disbellj

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by disbellj »

fire580,

Cool. Thank you.

That's my aim. I am an artist at heart, so I not only want to pay attention to the rules, I like it to look good too.

I must really also thank Steve first for giving people like myself a home. I'd like to thank CC (and of course Nanningbob which he got his idea for his strategy) second, for a coder needs a strategy by a profitable trader, or the code ends up just being unprofitable (much time spent on) bunch of lines. I've just spent months on another project and the person giving strategy quit co-operating, so months spent for nothing? Nothing is more irritating to me than this MUCH time spent and no one caring like it was nothing to do - other than being lied to, which irritates me because I try to live my live transparently and hate lying. So thank you so much CC for giving your strategy and doing your best to get the details across so it can be understood. I'm working on understanding and implementing my understanding for critique/change.

Also I'd like to thank Baluda, zznbrm, and other coders that give mq4. I used Baluda's code to fix the sunday bar (adding it to monday) for pivot calculations. zznbrm made TmaTrue, which the slope we all use is taken from. Using code from his mq4 so we don't have to call TmaTrueSlope via iCustom. It is also zznbrm's code I am tying to use (which he got code from Semafors indicator and made script to not have to use iCustom for Semafors, but I'm having trouble getting it implemented). Having the (great) code available helps us all help each other to be on the same page and get to the common goal.

I have seen the motto I go by "Standing on the shoulders of giants" used here in this forum. This is what I feel we are all doing. I didn't make the computer, but use it. Same with almost everything else in my life. And my job is not to re-create the wheel, but IMHO get the best parts already available, add anything missing if I can, and dress it up making it look good. If nothing else, maybe I can be the "artist coder" LOL.

I figure we all can't talk about it unless we're on the same page. For instance, old rules said DP > WP > MP = UT. But new rules say if DP is moving down, this is UT-RR Stage 1 I think. Anyways, trying my best to show if conditions met using updated rules, so we can all be on same page.

Also, the way I'm making the indicator, Each function in start has its code outside of start. Once finished, it can all be dropped into an EA shell that has trading functions easily. And since I "trade by color" (literally), when all variables are met, I can use the color of each one, put together quickly to implement rules for each type of trader. It's the understanding that's the hardest part.

Hope it helps everyone :)

Kindest regards,

Don

fire580 wrote:disbellj - If this works like it looks - you have created a heck of an indicator....am looking forward to working with it. Thanks for all your hard work.
User avatar
pacinvest
Trader
Posts: 150
Joined: Tue May 15, 2012 10:24 am
Location: Whangarei, New Zealand

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by pacinvest »

Hi Everyone

DisbellJ thanks so much for sharing your work built on the wise ones here. I am giving your indi a good look alongside my manual trading this week. Already it is helpful and I think as I get used to it the value will grow. I definitely like the consistent color coding approach you are adapting - this helps 'train the brain' and leads to quick scanning ability. Can't wait to watch this indi once some of these pairs start serious trending.

I can image you have highlighted a few display ideas that are already being worked on by Baluda and others with the development of 10.2 bot. Once we crack management of the 10.2 in the ranging and swing periods we will be away.

Thanks again for your considerable effort.
User avatar
will80
Trader
Posts: 48
Joined: Sun Apr 22, 2012 6:58 am
Location: Sydney, Australia

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by will80 »

Hi Disbellj,

That indicator looks very interesting - when I try to load it up it tends to freeze and lock up my Empty4 instance whilst making a lot of beeping noises?! Any ideas - I have the latest Empty4 installed?

Kind Regards,
Will
hilavoku
Trader
Posts: 170
Joined: Mon May 28, 2012 7:54 pm
Location: Germany

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by hilavoku »

Hi Don,

same with me. Indy freezes my Empty4. It looks really good. How can i sort the pairs? As i loaded it up once (running) the pairs where not sorted?

great week to us all
Guido
User avatar
Fable
Trader
Posts: 115
Joined: Mon Sep 17, 2012 2:05 pm

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by Fable »

hilavoku wrote:Hi Don,

same with me. Indy freezes my Empty4. It looks really good. How can i sort the pairs? As i loaded it up once (running) the pairs where not sorted?

great week to us all
Guido
Is it possible to also set same alert (and if possible an email one too) ?
I really like the indi, more convenient than use multibob, even if it's a real good tool too. Especially because of the colors for each symbol, like it a lot. Well done!

I'm writing a "CTS cheat sheet", I started it at the hospital Friday, hope to have a "beta version" to post during this week if you are interested.

Happy pips.

See you tomorrow !

Regards,

Fable
Last edited by Fable on Sun Oct 28, 2012 9:46 pm, edited 1 time in total.
hilavoku
Trader
Posts: 170
Joined: Mon May 28, 2012 7:54 pm
Location: Germany

Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS

Post by hilavoku »

Hiho Fable,

'cheat sheet' sounds good to me :-)
Post Reply

Return to “Ideas for Possible Automation”