Simple Coding Help - No Promise.

T3B charge Rs.16750/- for a year, is it worth spending 17k ?? month wise less then 1500 is ok, but yearly together without knowing the result....for small trader like me not affordable
They recently conducted a training session that I attended costed me 1500/-. Their claim is 1500 was for food/tea/coffee and space and training was meant to be for free.

Even if I consider 1500 for training, it was certainly worth lot more than 1500 and the trainer was good. Few other trainers have taken significantly more amount to provide much lesser value.

For 17000 annual membeship, they sell you annual membership of a grp that helps you manage the trade plus the software plus the data.

Since, I've already paid 20K for Ami, I am in no mood to shell another 17 grand for another software.

I like the adrenaline rush of Intraday, Swing and sleepless nights. Helps me remember GOD more often. :cool:

I am building the T3B on Ami for my brother who likes positional approach.

Unless you have capital of 10,00,000/- +, those expenses are hard to justify.
 
Hi I want to use below afl on 10 min using time frame expand, i tried with 2 different way but both are giving wrong value, please correct the error

Code:
_SECTION_BEGIN("RVI 10min");
tfrm=in1Minute*Param("Time Frame (min)",10,1,10,1);
TimeFrameSet(tfrm);
	Period = Param( "Length", 10, 1, 25, 1, 1 );
	RVI = 0;
	Signals = 0;
	Con1 = ( ( C - O ) + ( 2 * Ref( C - O, -1 ) ) + ( 2 * Ref( C - O, -2 ) ) + Ref( C - O, -3 ) ) / 6;
	Con2 = ( ( H - L ) + ( 2 * Ref( H - L, -1 ) ) + ( 2 * Ref( H - L, -2 ) ) + Ref( H - L, -3 ) ) / 6;
	A = Sum( Con1, Period );
	B = Sum( Con2, Period );
	RVI = IIf( B != 0, A / B, RVI );
	Signals = Ref( RVI, -1 );
	RVIBL=RVI>0;
	RVIBR=RVI<0;
	mycRVI=IIf(RVIBL,colorBlue,IIf(RVIBR,colorRed,31));
TimeFrameRestore();
Plot(6, "ribbon", TimeFrameExpand(mycRVI,tfrm), styleOwnScale| styleArea|styleNoLabel,-0.5,100);
_SECTION_END();

:) Happy
 

Nehal_s143

Well-Known Member
Code:
_SECTION_BEGIN("RVI 10min");
tfrm=in1Minute*Param("Time Frame (min)",10,1,10,1);
TimeFrameSet(tfrm);
	Period = Param( "Length", 10, 1, 25, 1, 1 );
	RVI = 0;
	Signals = 0;
	Con1 = ( ( C - O ) + ( 2 * Ref( C - O, -1 ) ) + ( 2 * Ref( C - O, -2 ) ) + Ref( C - O, -3 ) ) / 6;
	Con2 = ( ( H - L ) + ( 2 * Ref( H - L, -1 ) ) + ( 2 * Ref( H - L, -2 ) ) + Ref( H - L, -3 ) ) / 6;
	A = Sum( Con1, Period );
	B = Sum( Con2, Period );
	RVI = IIf( B != 0, A / B, RVI );
	Signals = Ref( RVI, -1 );
	RVIBL=RVI>0;
	RVIBR=RVI<0;
	mycRVI=IIf(RVIBL,colorBlue,IIf(RVIBR,colorRed,31));
TimeFrameRestore();
Plot(6, "ribbon", TimeFrameExpand(mycRVI,tfrm), styleOwnScale| styleArea|styleNoLabel,-0.5,100);
_SECTION_END();

:) Happy
Thanks for new code, but this also producing same result as my 2 methods which is not matching with 10 min TF



Uploaded with ImageShack.us
 
Last edited:

Nehal_s143

Well-Known Member
They recently conducted a training session that I attended costed me 1500/-. Their claim is 1500 was for food/tea/coffee and space and training was meant to be for free.

Even if I consider 1500 for training, it was certainly worth lot more than 1500 and the trainer was good. Few other trainers have taken significantly more amount to provide much lesser value.

For 17000 annual membeship, they sell you annual membership of a grp that helps you manage the trade plus the software plus the data.

Since, I've already paid 20K for Ami, I am in no mood to shell another 17 grand for another software.

I like the adrenaline rush of Intraday, Swing and sleepless nights. Helps me remember GOD more often. :cool:

I am building the T3B on Ami for my brother who likes positional approach.

Unless you have capital of 10,00,000/- +, those expenses are hard to justify.

Now they have stopped 1500 package, point is most of forex mt4 expert advisers makes high claims of good returns but in actual most of them are failuers, is T3B comes in same category or it stands ture on claims made on website
 
Thanks for new code, but this also producing same result as my 2 methods which is not matching with 10 min TF



Uploaded with ImageShack.us
Nehal,

I am only basing this on quick read thru of your code without adding it to AFL, but you seem to be using functions out of sequence...

In a fresh AFL, I am listing out the bare minimals building block for a multi time frame AFL. Plot it in intraday T.Fs.

Experiment with expandFirst in TimeFrameExpand method to see the effect. Remember to remove the Bold Highlight that I've added.

Code:
TimeFrameSet(inDaily);
dCRaw = C;
TimeFrameRestore();
dC = TimeFrameExpand(dCRaw, inDaily, [B]expandFirst)[/B];
Plot (C, "Close", colorBlack, styleLine);
Plot (dC, "D. Close", colorBlue, styleLine);
Title = "{{NAME}} {{VALUES}}";
Next, look up these two links for double and triple time frame plotting
http://www.amibroker.com/library/detail.php?id=1259
http://www.amibroker.com/library/detail.php?id=1321
 
Thanks for new code, but this also producing same result as my 2 methods which is not matching with 10 min TF



Uploaded with ImageShack.us
Hello Nehal


I did check at my end and was getting same ribbon on both. . .


Plz check the parameters for both the windows the above is 10 and the below seems to be 20



Guess if the parameters are different the ribbons will be different :)



:) Happy
 

Nehal_s143

Well-Known Member
Hello Nehal


I did check at my end and was getting same ribbon on both. . .


Plz check the parameters for both the windows the above is 10 and the below seems to be 20



Guess if the parameters are different the ribbons will be different :)



:) Happy
Sir all 3 methods parameters are getting changed to 20 :rofl: if used in 10 min expand

when i set parameters to 0 instead of 10, its giving correct result, as parameters get changed to 10, what is happening is timeframe expand value 10 mins is getting added to parameters :annoyed:

Below code is giving exact result :clap::clapping::thumb:

_SECTION_BEGIN("RVI 10min");
tfrm=in1Minute*Param("Time Frame (min)",10,1,10,1);
TimeFrameSet(tfrm);
Period = Param( "Length", 0, 1, 25, 1, 1 );
RVI = 0;
Signals = 0;
Con1 = ( ( C - O ) + ( 2 * Ref( C - O, -1 ) ) + ( 2 * Ref( C - O, -2 ) ) + Ref( C - O, -3 ) ) / 6;
Con2 = ( ( H - L ) + ( 2 * Ref( H - L, -1 ) ) + ( 2 * Ref( H - L, -2 ) ) + Ref( H - L, -3 ) ) / 6;
A = Sum( Con1, Period );
B = Sum( Con2, Period );
RVI = IIf( B != 0, A / B, RVI );
Signals = Ref( RVI, -1 );
RVIBL=RVI>0;
RVIBR=RVI<0;
mycRVI=IIf(RVIBL,colorBlue,IIf(RVIBR,colorRed,31));
TimeFrameRestore();
Plot(6, "ribbon", TimeFrameExpand(mycRVI,tfrm), styleOwnScale| styleArea|styleNoLabel,-0.5,100);
_SECTION_END();
 

Similar threads