I use the attached cycle identifier alert that Saroj got from the main Ninja forum and modified slightly.
There are major cycle turn identification markers and minor cycle turn identification markers.. I only care about the major cycle turn identification markers.
This indicator is most useful when you get a major cycle identifier marker plotting.. Those markets usually lead to a pullback which creates the opportunity for a good reversal trade (or a countertrend scalp).
Can someone look at the code and show me how to add an audio alert function so I can get an audio alert when a major cycle turn marker plots.
Thanks so much,
Todd
Can you help answer these questions from other members on futures io?
I had the same concerns on the older version but since Saroj changed it so the failed cycle markers can't be erased, I like it much better.
Besides... I'm only using it to identify high probability areas for retracement (the major cycles). I totally ignore the minor cycle identifiers. I made them 1 pixel and I make the major identifiers 10 pixels. Using it in this manner, I think it has value. I'm just trying to find a way to add an audio alert so if I have a chart minimized and that instrument (like 6e or CL) hits a major cycle identifier, then I might take the next trade when I see a retracement signal on my SMI indicator.
It shows you where it thinks a major cycle change is going to come... it happens in real time, often at the turn or a few bars before the turn... it can be a signal that doesn't turn out to really show a turning point... that is why I just use the major cycle identifier as a heads up and wait for my other indicators to tell me when to get in. Remember, I completely ignore the minor cycle identifier.
Thought I'd give this indicator a try on the 6B using a 4 range chart. Seems spot on.
I made all the lines transparent except for the Major Buy and Major Sell lines.
Attached is an image that also uses StepMA indicators (SMA, step sizes 3, 4, 6). The cycle change indicator could be incorporated into an auto-trader, I think.
sys trader and i fixed that indicator months ago to show everything purple that was repainting sarjo didnt fix anything maybe changed our purple to something else or something like that boy i hate when other people try to take credit for my hard work i never said anything before because the indicator sucks and i didnt want to show anyone but systrader,zeller,myself and a few other guys fixed that indicator months ago on the ninja fourm...sharky
The following user says Thank You to sharky for this post:
I went thru all sarjo posts didn't see any mentioning of cycle at all.
on ninja board https://ninjatrader.com/support/forum/showthread.php?t=18378&highlight=cycle+identifier&page=2
green trader renamed it to xxxgreen, are you saying green trader = sarjo?
greentrader didn't take any credit either. This is another reason why I don't like to stick my name to a indicator I modified least somebody think I try to take a credit for it, no big cap letter either.
I use the attached cycle identifier alert that Saroj got from the main Ninja forum and modified slightly.
There are major cycle turn identification markers and minor cycle turn identification markers.. I only care about the major cycle turn identification markers.
This indicator is most useful when you get a major cycle identifier marker plotting.. Those markets usually lead to a pullback which creates the opportunity for a good reversal trade (or a countertrend scalp).
Can someone look at the code and show me how to add an audio alert function so I can get an audio alert when a major cycle turn marker plots.
Thanks so much,
Todd
sorry i thought she was saying she fixed it but i was wrong she just modified my changes,no harm none done i was just reading the post to quickly and missread...sharky
Todd, Here's my version. Same indicator. Just added the ability to play GO LONG / GO SHORT sound files. I've uploaded the .zip file of the indicator & also the 2 sound files. Have fun!
**UPDATE** I tried this & can't seem to get the sounds (Go Long / Go Short) to play. The MajorBuyCycle indicator paints (LIME), but it does not play the sound. I may take another look at it, but after watching it perform today, I'm convinced that this cannot be used for profitable trading. See attached screenshot w/ notation.
NOTE: I did NOT program this indicator (Not trying to take credit for it). Just took the _sgCycleIdentifierGreen and attempted to add sound. Just wanted to make that clear. I gave it a unique name so as not to overwrite one of your existing indicators on download / import.
After all, it's what you learn AFTER you know it all, that counts!
The following user says Thank You to TheWizard for this post:
hondo, this can be a useful indicator, at least for a heads-up... but it has a lot of unused and confusing code... I'm trying to figure it out (and my knowledge of NT/C# is very limited so far)... if I make any significant improvements, I'll post it here.
Keep in mind that even a Major marker can be reset (and thus disappear) if the close of that bar is later taken out.
its a dangerouse indicator and i would not advise anyone to use it,some really good programmers tore into the code and they said it was a bad bad knock off of the roy indicator and that it would never work right because of how it was written ...sharky
The following 2 users say Thank You to sharky for this post:
Wizard I applied this indicator and put the golive and goshort wav files in the NT sounds folder... but I'm getting no sounds (alert is true) on the major markers (or any for that matter. any ideas?
nevermind.. just saw your update, Wizard...
this is very convoluted code... I've been trying to sort it out for over a week.
Workin' on the sound problem. I still think it's a bad indicator, however. See the screenshot post from yesterday - all the MAJOR BUY signals it gave, then repainted them out many bars later. Glad I didn't risk real $$ on it !
After all, it's what you learn AFTER you know it all, that counts!
The indicator looks great, an hour after the fact. But I've found out that when I'm in a position it can give me an early warning when it's time to get out. Might have potential in pullback situations as well.
As the code stands now, you can't use it in a strategy because the values it generates vary from signal to signal. Just my 2 cents.
Saroj, I fixed the sound problem. I got the sound to play, but now it plays "GO LONG" or "GO SHORT" on EVERY bar (if that's not too irritating, here it is - give it a try). I'll give it another look over the weekend, but for now - it plays the sounds.
I changed the name to _sgCycleIdentifierGreenV2. The other name was too long & gave the mis-impression that I had created the indicator. Didn't want to take credit for something that wasn't my creation.
After all, it's what you learn AFTER you know it all, that counts!
I NEED A REPLY FROM EVERYONE INTERESTED IN THIS INDY.
After thinking about it, It occurred to me that, although the sound plays on every bar once a major buy or major sell signal has occurred, that's not necessarily a bad thing. If you're not sitting near your computer when the Major buy/sell cycle goes off, you won't hear the sound. Question is. Should I leave it as is (sound plays on every bar) or fix it so the the sound ONLY plays one time when the major buy / sell cycle occurs?
Let me know your preference. Thanks.
After all, it's what you learn AFTER you know it all, that counts!
Hi Wizard... I had already done that, but I think you will find that it keeps sounding even when that major indicator has been "reset" (i.e. deleted)... but possibly not as I don't know where you put the alert code...
In any case, I'm making major revisions to this code, getting the buy/sell dots to paint correctly and eliminating redundant values and code so, thank you, but unless you figure out how to get it to sound only once, I'll pass.
I don't know if this indicator is a big help because of the repainting issue. It looks like the inventors of "the dots for dummies" had an eye on this indicator as well. What I would like to know is if somebody is using this indicator. It's doing a pretty good job and no repainting.
Isn't this scalper software signals after the fact? I believe it generates signals after couple of bars have passed by. Please correct me if I'm wrong.
That's why I asked if somebody is using it. Because they are so proud in their ads about the signal coming in real time and staying on the chart, either with the first tick of the bar or the last tick of the bar (your choice of settings).
I'll work on getting the GoLong / GoShort sounds to play ONLY on the first indication of MajorBuySignal / MajorSellSignal over the weekend. If you want to take a look, the lines of code I added are: 60, 61, 62, 347, 401 and 647 through 667.
After all, it's what you learn AFTER you know it all, that counts!
The following user says Thank You to TheWizard for this post:
I've been watching this indicator for a couple of days and I like the version that retains the false signals. To state the obvious, in a choppy market you get a lot of false signals. But that doesn't mean the indicator is worthless. A few observations . . .
1] Looking at Major signals only, I've noticed the values generated by the indicator vary. It's deceiving because the numbers on the right always show +0.96 or -0.96. Turns out these mean nothing. The real values generated are something more like 1.5875. So the first Major Signal might equal 1.5785 but the next value for a Major signal might be 1.4222. In short, they vary.
2] The values generated are always positive numbers.
3] The code is a mess.
Since the code is way over my head I can't even begin to pick it apart. But I might have a coding expert take a look at it some time if it continues to show some value.
I am picking it apart... going through line by line and commenting on what it is doing.. also have a list of all the variables and input fields that control logic flow... 52 altogether. I'm like a dog with a bone on it... almost an obsession with me now and just hopeful my efforts will be worthwhile...
I do find value in the indicator and understand why markers are later erased. although it is a good "heads-up", it is unlikely it could be used on its own in a strategy or even discretionary trading, but combined with price action and other visuals, it can give you an early entry to a reversal or tradeable PB.
I've attached my efforts up through 9/30... been busy with other things since then...
Anyone looking at the code, please let me know what you discover about variables and logic flow.
Thanks,
Saroj
The following 4 users say Thank You to Saroj for this post:
Yeah, this is a strange indicator. I mean, it seems to paint signals at absolute bottoms and tops, but it must be repainting somehow/somewhere. Or, it's the Holy Grail
I'd have to see how it works in real-time. It may be useful as an exit indicator.
Nice desconstruction Saroj. You must have done a lot of COBOL remediation in 1999
Nope. Not the Holy Grail. It always appears to have picked absolute tops & bottoms "after the fact". It recalculates & repaints all the time. I've tried using it in market replay off & on all day & have yet to win more than lose. I still say it's a bad indicator if you hope to be profitable. Just my 2 cents.
After all, it's what you learn AFTER you know it all, that counts!
shodson... you're giving me a chuckle... haven't programmed COBOL since 19... uh... 76... then did a little Pascal... then moved to meta languages... til 1986... then nada other than Lotus Notes and a little VBA... I started my IT career before you were born... 1965
This code is very bizarre... looks like a bunch of folks dabbled with it... I started out trying to do a sound alert for a friend... but it may be impossible without totally rewriting it... I'm just learning oo and NS/C# so using this as an exercise... but it is quickly outliving its value for that.
BTW.. I grew up not far from you... satellite view in my pictures (profile).. but now in VA.
Cory, why do you think that? On my charts it paints ahead of the SH/SL.. usually a few bars before actually... then repaints if that close is taken out... nearly always at least a PB. Still its "just" an indicator... has to be confirmed... I see it as a heads-up...
As a little exercise this morning I thought I'd plot the values of Major Cycle Buy, Major Cycle Sell and The Line. The idea being to see the relationship of each of the values plotted out visually. Turns out they all plot identically. They are all the exact same thing.
For those of you tearing into the code you surely know this already, but thought it would be interesting for others who are following this topic.
So it's basically plotting a single line, then looking back "n" bars to see if it's at a new high or new low for the "n" period. The image below shows 2 points of the line.
Low 1 = looks back 20 bars to see if it's at the lowest point. Since it was a new low, it painted a Minor Cycle Buy bar.
Low 2 = also looks back 20 bars and discovers it is a new low. So it erases the first Minor Cycle Buy bar and draws a new one.
I'm guessing on the look back period of 20 bars, but it's something like that. For a Major Cycle it simply looks back a larger number of bars.
To compliment this indicator I whipped up one of my own. The idea being to verify "real" signals and avoid the false signals.
It's basically a combination of 3 indicators into one oscillator. You can easily edit the oscillator to include the indicators of your choosing, but these seem to work pretty well. I would like to tweak it some and add "thresholds", but need to do some testing first. The "threshold" idea is to better identify chop.
Right now it works pretty well at identifying most of the tops and bottoms. I look for a change in color of the oscillator bar to coincide with the Cycle Indicator (within a few bars).
An expert coder could probably improve on this a great deal.
The following 2 users say Thank You to hondo69 for this post:
I could't import this one first it said duplicate linregsfx, so I wiped out lingregsfx, vpa_beta, vpavolumeanalyzer then I re-imported it but it said duplicated DTWopen method or something like that and I couldn't find that method to delete.
Uh oh. I really don't know too much about the import process except a few basics.
When I did the export I selected the option to include any scripts used by this indicator. Since it uses 3 other indicators it should have only included those 3 along with the oscillatory name JimmyJoe. Those 3 are:
LinRegSlopeSFX
CCI
KrauseSlope
From your message it sounds like it included every indicator I have. That's odd because it gives you a list of the files exported together in the zip file. Anyway, I re-exported the zip file, double checked the list of files included, and I think the import should work better now. Crossing my fingers.
I've been using the StepMAv71 for some time and like it very much. In fact, I've just added the relationship of the 2 lines to the oscillator I built. It seems to run just fine but the darn thing won't export the file now. I'll attach the .cs file anyway.
So the oscillator simply adds together the values of the 3 indicators mentioned earlier and this new version adds the StepMA lines as well. The purple line is subtracted from the yellow line to arrive at a value. That value is then multiplied by 10, then added to the value of the group of 3.
Try it for a day & see for yourself. But, by all means, PLEASE DO NOT TRADE LIVE with this. Make sure you're in SIM!
You'll see !!! Appearances *CAN* be very deceiving!
After all, it's what you learn AFTER you know it all, that counts!
The following 2 users say Thank You to TheWizard for this post:
I have been asked a few times to work on this indicator. I have always refused, because it is an awful piece of code. Disorganized, repainting and pretending to identify cycles, which it cannot do. Yes, I also have a low opinion of this indicator.
If someone wants to identify cycles, better use one of the indicators of John Ehlers. Most of them are converted to NinjaScript and can be found in the Download section. Below is a link to the Cycles Tutorial of MESA software.