you are right the Phase Change Index is writen for excel. How ever it not difficult to convert to MQ4. The other indicator Trend Trigger Factor I beleive has already been writen in MQ4 some were.
I am going to post the articals later to day must get some sleep sometime.
I have no plans to make the cycle indicator public nor do I intend to sell or rent it. Sorry.
It would be great if you can post the articles.
Looking forward to it.
Phase Change Index article attached at this post https://www.forex-tsd.com/forum/debates-discussions/116-something-interesting-please-post-here/page93#comment_410818 Will be probably posted here too but not now (I posted reasons there too)
I would be great if you can post the articles.
All implementors are so secretive about this makes it more interesting:)
Putting it into top of my to-read list.(My wife is gonna kill me, this definitely becoming addiction:))
Thanks for the article.
Don't worry. You are not the only one in that situation :):)
I've been trying to up load the files I have some problems with uploading keep getting file broken error. I am trying different file formats current to see if I
can post the pages indiviually.
Ok I have changed the file format to JPG. could not up load it in a zip file so did it by pages.
My connection sence a storm last week has not been good, I think Verizon has a problem with a tower in this location.
Here are the the first pages will post the rest in the next post as I have reached the TSD's limit on uploads per post.
EDIT: Removed large pic. see akift post below for a pdf file on the article
sorry about the large pics but its the best I can do right now,
I will leaving this area heading for Lexington KY tomorrow.
Will be at a different tower location and will clean up these post then.
If you copy the pics to your hard drive and then open them you will
find it a lot easier to read that way then trying to read them from the
Or if someone will download these pages and rearange them in a better
(readable) format and Upload it again I'll delete these large posts of mind.
again sorry for the mess it the only way I could upload them at
this time. The rest of the files excetp one are on the forum.
Trend Trigger Factor
Thank you very much for the pain you take to prepare the scans. I created a pdf containing the pictures you send attached to this post. You can delete your posts..
phase change index
I tried to implement PCI. Here is my shot at it.
Can you check if it is correct or not also I try to imitate your inverse slope but it looks like I couldnt reproduce it.
To imitate it I changed this line of code:
Green represents situaton 1 and situation 3 in the document (which is momentum>0 and PCI<20)
Red represents situaton 2 and situation 4 in the document (which is momentum80)
Orange represents situaton 5(which is momentum>0 and PCI>80) and situation 6 (which is momentum<0 and PCI<20) in the document
The main difference comes from the usage of buffers and arrays
You are using buffers and I am using arrays for everything except the values that need to be displayed on the chart. The way array are treated in my code means that array elements are accessed in "inverted logic" to buffer logic (in "buffer logic" buffer is the current value, in that "array logic" array is the oldest value) I like this way because apart of resizing the array to current bars size, it does not require any additional coding and allows simple using of two dimensional arrays instead of buffers (it is still an 8 buffer limitation in MT4, MT5 will not have that limitation)
Also, there is one difference in my calculation compared to M.H.Pee way : in his article he calculates momentum(5) as a momentum of 5 elements and not what momentum(5) is - a momentum of 1st and 6th element (if we used Pee's logic, than momentum(1) would always be 0, and as we know, it is not) Hence I do not have the /(Length-1) part but rather simple /(Length). And further To get same values as Pee for his 35 PCI one should use length 34
Anyway, here are tose PCI and T3 smoothed PCI. There is no secret in the code, but as keit tells, one really must read what for and how does Pee use that indicator. That is all
Close[startIndex]+momentum*(k)/(PeriodPCI-1); [/code]to this:
You cant guess the pain of that minus 1 (-1) which I want to be completely compatible with Pee:)
Thanks mladen for reviewing the code.(It would take a lot of time of me to make a review of a code like mine. You are fast:)).