› Forums › Indicator discussion › SubSequence indicator
Tagged: SubSequence
- This topic has 43 replies, 22 voices, and was last updated 11 years, 1 month ago by
smallcat.
- AuthorPosts
- December 11, 2014 at 2:00 am #1116
Thanks alot Xux99, I will look into it.
December 16, 2014 at 8:19 am #1502Thank you XUX99!
i am waiting to see more advantages of this high/low n=2 sequense and higher n by you
thanks again
December 16, 2014 at 9:23 am #1512Thanks xux99
December 17, 2014 at 2:17 am #1588Hi Xux99,
Are we able to further split the stats to how many long red and blue lines? This can be on the top right corner as simply as below:
Long red lines: 3
Long blue lines: 3
Scissors
December 17, 2014 at 2:36 am #1589Hi Xux99, Are we able to further split the stats to how many long red and blue lines? This can be on the top right corner as simply as below: Long red lines: 3 Long blue lines: 3 Scissors
Sorry maybe I am missing something obvious, but what do you mean?
Referring to the first post:
The blue lines are long
The brown lines are short
-
This reply was modified 11 years, 4 months ago by
Innate.
What's it all about? It's all about money.
December 17, 2014 at 4:03 am #1597Hi Xux99,
Sorry I didnt sound clear. I get example from your first post picture. It stated that there are 4 open long lines, but it is a combi of blue and brown lines together (please correct me if I am wrong). So we have to zoom out the TF to see where are the open lines. So it would be nice and simplify if we can know how many blue and brown lines are there. For example if there are 2 brown and 2 blue open lines, then there are altogether 4 open long lines.
Not sure you get what I mean

Attachments:
You must be logged in to view attached files.December 17, 2014 at 11:36 am #1610Hi Xux99, Sorry I didnt sound clear. I get example from your first post picture. It stated that there are 4 open long lines, but it is a combi of blue and brown lines together (please correct me if I am wrong). So we have to zoom out the TF to see where are the open lines. So it would be nice and simplify if we can know how many blue and brown lines are there. For example if there are 2 brown and 2 blue open lines, then there are altogether 4 open long lines. Not sure you get what I mean

Do you mean the number of lines visible on chart? Long lines are the blue lines only and short lines the brown lines. The indicator shows statistics for all lines and for long or short lines seperately.
December 17, 2014 at 11:06 pm #1654Hi Xux99,
My bad, I finally get it. Thanks for the time and help

Scissors
March 4, 2015 at 3:06 am #5303Hi xux99,
Is it possible to add the option of limiting the no. of lines displayed by the indicator if I decide to choose n= negative value (example) so that my memory load is much lesser. Because I have noticed your Subsequence indicator is quite different from MTH2014 Kiads. His indicator seems to draw lines on swing points high/low only. I was just wondering why are there so much difference between them, it is because there are more sequences calculated in his Subsequence star, skull and smiley indicator? Just curious. I would be very grateful if u can answer my questions.
Thanks in advance,
LearnAlways
I only know I know nothing
Skype: learnalways@outlook.comMarch 4, 2015 at 4:59 am #5305Wow, this is really great. Thanks a lot xux99
March 4, 2015 at 9:16 am #5315I have uploaded a new version with user defined past bars that limit the number of displayed lines. Compared to Kiad’s indicator, the lines are drawn from the opposite point of the candles and are supposed to be targets. For long arrows the are drawn from the low of the candle and vice versa.
March 4, 2015 at 9:27 am #5316Thanks xux99, u are great.

I only know I know nothing
Skype: learnalways@outlook.comMarch 16, 2015 at 8:46 pm #5802I have uploaded a new version with user defined past bars that limit the number of displayed lines. Compared to Kiad’s indicator, the lines are drawn from the opposite point of the candles and are supposed to be targets. For long arrows the are drawn from the low of the candle and vice versa.
Hey bro, i could not see updated indy. Please can you help?,
Thanks
March 17, 2015 at 4:14 am #5803I have uploaded a new version with user defined past bars that limit the number of displayed lines. Compared to Kiad’s indicator, the lines are drawn from the opposite point of the candles and are supposed to be targets. For long arrows the are drawn from the low of the candle and vice versa.
Hey bro, i could not see updated indy. Please can you help?, Thanks
Bro, just download from the first post, it is the new one.

I have uploaded a new version with user defined past bars that limit the number of displayed lines. Compared to Kiad’s indicator, the lines are drawn from the opposite point of the candles and are supposed to be targets. For long arrows the are drawn from the low of the candle and vice versa.
Thanks a lot xux99 …
March 17, 2015 at 9:13 am #5804Hi xux99
if you can make it MTF,
I usually use M15 TF, I want to see all SS line in M15 TF
M15, H1, H4
thx a lot.
March 17, 2015 at 6:28 pm #5808Hi xux99 if you can make it MTF,
I usually use M15 TF, I want to see all SS line in M15 TF
M15, H1, H4
thx a lot.
That’s what I’m trying to do for the past 2 weeks. However, since it’s coded as OnCalculate mode, it is not easy.
So it would be GREAT to have such modified code.

Best regards.
Nothing has ever motivated me more than this...
March 17, 2015 at 11:19 pm #5809Hi xux99 if you can make it MTF,
I usually use M15 TF, I want to see all SS line in M15 TF
M15, H1, H4
thx a lot.
That’s what I’m trying to do for the past 2 weeks. However, since it’s coded as OnCalculate mode, it is not easy.
So it would be GREAT to have such modified code.

Best regards.
I did it by converted the code to “old style”, ex. using start() instead of onCalculate(). Now i can see all same lines from any TF.
Regards.
March 18, 2015 at 4:33 am #5810Hi xux99 if you can make it MTF,
I usually use M15 TF, I want to see all SS line in M15 TF
M15, H1, H4
thx a lot.
That’s what I’m trying to do for the past 2 weeks. However, since it’s coded as OnCalculate mode, it is not easy.
So it would be GREAT to have such modified code.

Best regards.
I did it by converted the code to “old style”, ex. using start() instead of onCalculate(). Now i can see all same lines from any TF.
Regards.
Hi smallcat
if you can upload the MTF version.
thx a lot.
March 18, 2015 at 6:35 am #5811Hi smallcat
if you can upload the MTF version.
thx a lot.
Hi brother,
Sorry, there is still bug at my code. I just changed these :
int Periode[ ] = {1,5,15,30,60,240,1440,10080};
It is at top, and at start() or i think it will works at onCalculate() too :
int periodeArrSize = ArraySize(Periode);
for (i=0; i<periodeArrSize; i++) { // each period
…
while(t1<=PastBars0-1) {
if (SubSequenceData==HighPrice) { Vd[t1]=iHigh(NULL,Periode [ i ],t1); }
if (SubSequenceData==LowPrice) { Vd[t1]=iLow(NULL,Periode [ i ],t1); }
if (SubSequenceData==OpenPrice) { Vd[t1]=iOpen(NULL,Periode [ i ],t1); }
if (SubSequenceData==ClosePrice) { Vd[t1]=iClose(NULL,Periode [ i ],t1); }
if (SubSequenceData==OHCL) { Vd[t1]=(iOpen(NULL,Periode [ i ],t1)+iHigh(NULL,Periode [ i ],t1)+iLow(NULL,Periode [ i ],t1)+iClose(NULL,Periode [ i ],t1))*0.25; }
t1++;
} // while……
d1=(t5==1)*iHigh(NULL,Periode [ i ],t6)+(t5==2)*iLow(NULL,Periode [ i ],t6);
d2=(t5==1)*iHigh(NULL,Periode [ i ],t7)+(t5==2)*iLow(NULL,Periode [ i ],t7);So, i must change all one tf related to multiTF using “i” , for example :
time [ t1 ] => iTime(NULL,Periode [ i ],t1)
open [ t1 ] => iOpen(NULL,Periode [ i ],t1)
I did it for : time, open, close, high, low, etc ..
Hope this help.
Edit :
Hm … it is strange. I wrote “iHigh(NULL,Periode [ i ],t1)” , but as result i see “iHigh(NULL,Periode,t1)” (without [ i ] after Periode) at Blockquote.
Do not know how to fix it. So, the right one is with [ i ] after Period. time[t1] becomes: iTime(NULL,Periode [ i ],t1)Thanks.
-
This reply was modified 11 years, 4 months ago by
- AuthorPosts
- You must be logged in to reply to this topic.