MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe) p2

cheap

Active Member
Re: MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe)

I dond know why you really upset after my post.

Is this that you asking me when I said, Why not to use a scan?

Let me put it in different way.

This is my opinion ok…what I believe in the end of the day you are going to heat up your PC and I was thinking just to save you few dollars instead to buy a new one.
With the way that I imagine you end up of you code you are going to kill it.

Why ? because to use MTF on a chart on a tick timeframe as you said you need a lot of cpu power and good aeration for online trading , without scanning every x minute and store your signals in a statickvar.
Hey Boufalo,
No! I wasn't upset after your post, never!
I posted some of things in your reply that i wanted to say in other post, so my bad.
No, if you are looking for 1 min. to 5 min. and 10 min. to 15 min.. if both condition met, arrow signal .. pc not gonna heat up with this equation .

Yes, i've used tick second database already, it was working fine in pc.. no issue with it .. pc can run foundation afl, which is more than 2000 line of code with plugins .. so it's nothing compared to that.

So, I was intending to say about general problem i was facing.. about timeframerange and not enough example .. and what expandmode one gonna use in it ? in upper problem..

So it wasn't about you! Kindly dont take it on you! I was saying about general problem. ..

that scanning is problem is already done.. we are doing new problem solution .. that timerange solution ..

IF SOMETHING IS NEW, PEOPLE SHOULD ATLEAST GUIDE IT HOW TO DO IT? RATHER THAN THIS IS NOT RIGHT? YOU SHOULD LEARN THIS AND THAT, I'VE NO TIME FOR IT, I'M OUT OF THREAD, WHAT IS THAT? ACTUALLY


this sentence meaning ..... not for you! I was generally saying that WHEN ENOUGH EXAMPLES AND CERTAIN CASES IS NOT PRESENTED, ATLEAST THEY SHOULD HELP ABOUT IT, BECAUSE IT'S BIT DIFFERENT AND NEW.. AND WE ALSO DON'T KNOW WHAT EXPANDMODE WE GONNA USE ? BECAUSE WE USING TWO DIFFERENT TIMERANGE LOOPS AND HOW DO WE GET POINTED IT WITH TIMEFRAMEEXPAND.. WE DON'T KNOW .. SO I SAID ..
SO I WAS NOT ABOUT YOU .. KINDLY DONT MIND IT .

OU SHOULD LEARN THIS AND THAT, I'VE NO TIME FOR IT, I'M OUT OF THREAD, WHAT IS THAT? ACTUALLY THIS SENTENCE MEANING , IT'S BETTER TO POINT OUT MISTAKE THAN SAYING SUCH WORDS.. LIKE YOU KNOW .. AGAIN NOT SAYING TO YOU ! KINDLY TAKE ON YOURSELF.

Why ? because to use MTF on a chart on a tick timeframe as you said you need a lot of cpu power and good aeration for online trading , without scanning every x minute and store your signals in a statickvar.


WE'RE TALKING ABOUT THIS CODE: NOT THAT ONE
Code:
_SECTION_BEGIN("try");
for(i=1; i<=5; i++) {
TimeframeSet(i * in1Minute);
up15= C > O; 
}
TimeframeRestore();

for(i=10; i<=15; i++) {
TimeframeSet(i * (2*in5Minute));
up1015= C > O;
}
TimeframeRestore();

expandmode = expandPoint;
up15= TimeFrameExpand(up15, in1minute, expandmode);
up1015 = TimeFrameExpand(up1015, (2*in5Minute), expandmode);

Plot( C, "Price", colorDefault, styleCandle ); // Just to show on pane
PlotShapes( IIF( up15 AND up1015, shapeUpArrow , shapeNone ), colorAqua );
BOUFALO,WE'RE TRYING TO SOLVE THIS PROBLEM IN THREAD !
 
Last edited:
Re: MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe)

what about this with few corections here?

Code:
_SECTION_BEGIN("try no 2");
// http://www.traderji.com/amibroker/101561-mtf-timeframe-scan-output-scanning-timeframe-not-pattern-single-timeframe-p2-16.html#post1158757

for(i=1; i<=5; i++) {
TimeframeSet(i * in1Minute);
up15= C > O; 
TimeframeRestore();
}


for(i=10; i<=15; i++) {    
TimeframeSet(i * (2*in5Minute));  //<< what that mean for you? 
up1015= C > O;
TimeframeRestore();
}


expandmode = expandfirst;
up15= TimeFrameExpand(up15, in1minute, expandmode);
up1015 = TimeFrameExpand(up1015, (2*in5Minute), expandmode);

Plot( C, "Price", colorGrey40, stylebar ); // Just to show on pane
PlotShapes( IIF( up15 AND up1015, shapeUpArrow , shapeNone ), colorAqua );
PlotShapes( IIF( up15 , shapeUpArrow , shapeNone ), colorred ,0,l,-12);
PlotShapes( IIF( up1015, shapeUpArrow , shapeNone ), colorGreen,0,l,-25);


[B]// AND this is about your other question here http://tinyurl.com/gppnesx[/B]
// http://tinyurl.com/h6hzgwp
// http://tinyurl.com/hqyxun2

GraphXSpace = 5;
dist = 0.5*ATR(20);
  for(i=BarCount-1;i>1 AND Status("firstvisiblebar");i--)   
{
if( up15 [i]) PlotText( "up15", i, H[ i ]+dist[i], colorred );
if( up1015 [i]) PlotText( "\nup1015", i, H[ i ]+dist[i], colorGreen );
if( up15 [i] and up1015 [i] ) PlotText( "\n15\n1015", i, L[ i ]-dist[i], colorAqua);
}


_SECTION_END();
donot ask anything else from me... thank you
 
Last edited:

cheap

Active Member
Re: MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe)

what about this with few corections here?

Code:
_SECTION_BEGIN("try no 2");
// http://www.traderji.com/amibroker/101561-mtf-timeframe-scan-output-scanning-timeframe-not-pattern-single-timeframe-p2-16.html#post1158757

for(i=1; i<=5; i++) {
TimeframeSet(i * in1Minute);
up15= C > O; 
TimeframeRestore();
}


for(i=10; i<=15; i++) {    
TimeframeSet(i * (2*in5Minute));  //<< what that mean for you? 
up1015= C > O;
TimeframeRestore();
}


expandmode = expandfirst;
up15= TimeFrameExpand(up15, in1minute, expandmode);
up1015 = TimeFrameExpand(up1015, (2*in5Minute), expandmode);

Plot( C, "Price", colorGrey40, stylebar ); // Just to show on pane
PlotShapes( IIF( up15 AND up1015, shapeUpArrow , shapeNone ), colorAqua );
PlotShapes( IIF( up15 , shapeUpArrow , shapeNone ), colorred ,0,l,-12);
PlotShapes( IIF( up1015, shapeUpArrow , shapeNone ), colorGreen,0,l,-25);


[B]// AND this is about your other question here http://tinyurl.com/gppnesx[/B]

GraphXSpace = 5;
dist = 0.5*ATR(20);
  for(i=BarCount-1;i>1 AND Status("firstvisiblebar");i--)   
{
if( up15 [i]) PlotText( "up15", i, H[ i ]+dist[i], colorred );
if( up1015 [i]) PlotText( "\nup1015", i, H[ i ]+dist[i], colorGreen );
if( up15 [i] and up1015 [i] ) PlotText( "\n15\n1015", i, L[ i ]-dist[i], colorAqua);
}


_SECTION_END();
donot ask anything else from me... thank you
Thanks for criticising me,

but against i get blamed for lot of ways .. like one guy said in other form this and that , right now you're saying this and that, but anyways ..
in last couple of my post i said already .. I ALREADY POSTED WHO I AM ..
AND ALSO NICE TRY TO BAN A GUY .. OR MAYBE PLANNING .. OR MAYBE SOME OTHER PLANS ..


DON'T WORRY I WON'T ASK YOU

BTW YOUR FIRST ANSWER :
IT'S SHOWING WRONG ARROW .. QUESTION THAT I ASKED HERE.




THANKS FOR TELLING ME .. YOUR REAL COLOR, AND LETTING ME KNOW, WHO YOU ARE ACTUALLY!
I'VE ALREADY KNOWN WHEN POST GET DELETED.. BUT NO WONDER! NO PROBLEM, SIDE WITH ANYONE,
I THOUGHT YOU DO HAVE ENGLISH LANGUAGE PROBLEM, BUT PROBLEM IS SOMETHING ELSE. I THOUGHT YOU'LL THINK BEFORE WHAT ARE YOU SAYING? BUT ANYWAYS, HAVE SEEN LOT OF OBSTACLES SINCE I STARTED THIS THREAD. STILL ALIVE .. STILL GOING :/
DON'T WORRY I AIN'T GONNA DECEIVE FROM ANYONE..

I WISH THAT GUY COME AND TELL YOU .. ! ANYWAYS .. NICE TO KNOW YOU
 
Last edited:

cheap

Active Member
Re: MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe)

is this your thanks?
oooo my God
No boufalo, I am not against no one, Let's focus on problem ,if you are interested.
You do understand, what you did.. no mean of sayiing it again and again
let's close this topic.

below words aren't for you .. for general i'm speaking .

THREAD IS FOR PROBLEM DISCUSSION, LET'S FOCUS.
 

cheap

Active Member
Re: MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe)

HI,

When usually we do exploration..

lets take this example
if we do exploration and if we get
such results as below

it was on 12:49pm

What do you think after 5 min.
which gonna be 12:54pm
What results will you get for sure? Yes! 5,6,7,8,9

No?
Why?
Because it was just 5 min. after these bars made..so exploration showing it as usual we see it .

ALWAYS REMEMBER WE PLAYING WITH MULTI TF
CHART TF

WHAT LAST 1 MINUTE ARE WE TALKING ABOUT?
IT'S CHART TIMEFRAME


If 12:49 to 12:50 .. if there is no new candle
made of any pattern.. show that there..


let's just assume from12:49 to 12:50
only 5 and 6 minute candle made?

then only it should show only 5 and 6 minute..(on exploration under bar)

If we don't have any condition and as usual we do..
what do we get after 1 minute? yes same as you can see on exploration..

If new candle not made in last 12:49 to 12:50
it shouldn't show up under bar ..

AFter reading theory
IF NEW BAR MADE UP BETWEEN last M12:49 to 12:50M (CHART TIMEF)
OR LAST 1 MINUTE ON CHART TIME ..
THEN ONLY IT SHOWS UNDER BAR COLUMN?


I guess question should be clear?

Difference between before and now?
 

cheap

Active Member
Re: MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe)

HI,

When usually we do exploration..

lets take this example
if we do exploration and if we get
such results as below

it was on 12:49pm

What do you think after 5 min.
which gonna be 12:54pm
What results will you get for sure? Yes! 5,6,7,8,9

No?
Why?
Because it was just 5 min. after these bars made..so exploration showing it as usual we see it .

ALWAYS REMEMBER WE PLAYING WITH MULTI TF
CHART TF

WHAT LAST 1 MINUTE ARE WE TALKING ABOUT?
IT'S CHART TIMEFRAME


If 12:49 to 12:50 .. if there is no new candle
made of any pattern.. show that there..


let's just assume from12:49 to 12:50
only 5 and 6 minute candle made?

then only it should show only 5 and 6 minute..(on exploration under bar)

If we don't have any condition and as usual we do..
what do we get after 1 minute? yes same as you can see on exploration..

If new candle not made in last 12:49 to 12:50
it shouldn't show up under bar ..

AFter reading theory
IF NEW BAR MADE UP BETWEEN last M12:49 to 12:50M (CHART TIMEF)
OR LAST 1 MINUTE ON CHART TIME ..
THEN ONLY IT SHOWS UNDER BAR COLUMN?


I guess question should be clear?

Difference between before and now?
I guess question is clear, if not, Kindly let me know. ask anything? don't hesitate.
 
Re: MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe)

I guess question is clear, if not, Kindly let me know. ask anything? don't hesitate.
Just curious!

Did you solved your first problem ?
1 to 5 min. AND 10 to 15 min?
You've used buy only, there's no sell signal?
How do you use Exrem in only buy?

Exrem(buy, c) ?
or
I think you do need Sell signal
after that you can use Exrem function , isn't it ?

I had a problem with two timeframe only. and it's solved and Arrow is not repainting like yours as i can see on link.

Difference is: in my problem only two timeframe. In your problem you are using two loops.
I used this code
Code:
/// @link http://www.traderji.com/software/101822-need-your-help-multitimeframe-2.html#post1157240

Plot( C, "", colorDefault, styleCandle ); // Just to show on pane

if( Interval() < 3600 ) {
    TimeframeSet( inHourly );
    Bar60 = C > O;
    TimeframeRestore(); 

    expandmode = expandPoint;
    Bar60 = Ref( TimeFrameExpand( Bar60, inHourly, expandmode ), -1);     
} else
    Bar60 = C>O;

PlotShapes( IIF( Bar60, shapeUpArrow , shapeNone ), colorAqua );

if i use ref(c, 0) and ref(o, 0) ; and TimeFrameExpand( Bar60, inHourly, expandmode ) , Upper code doesn't work same way? So i've no idea.


I also read on internet about it.
there's they use expandfirst when end of internal is : start and vice versa,that's it no other information.
Two timeframe working with expandpoint. No idea about loop,
If upper code helps, I do think it doesn't help . your condition is different.
regards
mtftrader
 
Last edited:

cheap

Active Member
Re: MTF timeframe scan output (Scanning Timeframe not Pattern with single timeframe)

Just curious!

Did you solved your first problem ?
1 to 5 min. AND 10 to 15 min?
You've used buy only, there's no sell signal?
How do you use Exrem in only buy?

Exrem(buy, c) ?
or
I think you do need Sell signal
after that you can use Exrem function , isn't it ?

I had a problem with two timeframe only. and it's solved and Arrow is not repainting like yours as i can see on link.

Difference is: in my problem only two timeframe. In your problem you are using two loops.
I used this code
Code:
/// @link http://www.traderji.com/software/101822-need-your-help-multitimeframe-2.html#post1157240

Plot( C, "", colorDefault, styleCandle ); // Just to show on pane

if( Interval() < 3600 ) {
    TimeframeSet( inHourly );
    Bar60 = C > O;
    TimeframeRestore(); 

    expandmode = expandPoint;
    Bar60 = Ref( TimeFrameExpand( Bar60, inHourly, expandmode ), -1);     
} else
    Bar60 = C>O;

PlotShapes( IIF( Bar60, shapeUpArrow , shapeNone ), colorAqua );

if i use ref(c, 0) and ref(o, 0) ; and TimeFrameExpand( Bar60, inHourly, expandmode ) , Upper code doesn't work same way? So i've no idea.


I also read on internet about it.
there's they use expandfirst when end of internal is : start and vice versa,that's it no other information.
Two timeframe working with expandpoint. No idea about loop,
If upper code helps, I do think it doesn't help . your condition is different.
regards
mtftrader
Hi,
that example is not enoough, it's merely using two timeframe for generating signal .. precisely only using 1 hour signal and plotting it on lower timeframe .
can use variable to store value and then compare ..
or
in 1 min. to 15 min. ie. if any candlestick is Bullish doji hft candle .. as soon that candle made at x timeframe.. After candle formation, within 5 min. if there is Bullish candlestick on lft ... Plot arrow on that bar..

Think about now?
If you ask such question , first they misread it then try to correcting they weren't wrong.. lot of folks gonna say are you talking about 5 min. new candlle, where in question it's clearly mentioned , what is it ?

You didn't use visible area value , and still got values under candlestick?
if it's moving with candles.. something is wrong ..
btw
you used
PlotText(""+(i), b, L-2-(i), colorAqua);

inside loop?

Good to know you shared code, atleast few other folks will lead it to next stage.. and it will happen .regardless of what other person want or not! That's the power of sharing ..
Trust me , you not gonna lose anything !
I do believe you're using Ninjatrader for orderflow..
if guy try to reverse your strategy ..that folk will be the first person to lose bet , not matter what folk want !
Keep it up these innovative thoughts !
If you any other than this .. Kindly share! or atleast give bit hint ..

You're changing the ocean ! trust me, i have conversation with lot of folks .. experienced one! They have no idea trust me .. and it's basics in institutions ..
Kindly share more if possible !
 
Last edited:

Similar threads