Simple Coding Help - No Promise.

Can some body help me to add below request in this afl. i picked up this afl from net only.

It plots Williams VIX FIX line and in title it gives number.

Is there any way to display in Title last 3 candle sumup value of Williams VIX FIX separately in title? If yes please help me to add the same

_SECTION_BEGIN("Unnamed 64");
_N(Title = StrFormat(FullName() + " {{INTERVAL}} {{DATE}} Open %g, High %g, Low %g, Close %g (%.1f%%) Volume " +WriteVal( V, 1.0 ) +"\n{{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
WVF = (HHV (Close,22) - Low)/(HHV(Close,22))*100;

Plot(WVF, "Williams VIX FIX", colorBlue, styleLine);
_SECTION_END();
Add following line....
Plot(WVF+Ref(WVF,-1)+Ref(WVF,-2), "Sum up", colorBlue, styleNoLine | styleNoRescale);
 
Hello amit ji n all seniors here...

i need help to make Amibroker exploration afls for the below conditions -

1st condition for exploration -

Bar 1 & 2 open price is Same.
Bar 2 Close is greater then Bar 1 close




2nd condition for exploration -

Whenever we find a stock closing above UPPER LEVEL of BOLLINGER BAND with VOLUMES above 10 days average then such stocks tend to rise like ROCKET.
(Example - Check CESC & Jublfood works example for the same)

I need exploration for such moves.


thanx you in advance...
 
Last edited:

trash

Well-Known Member
Can some body help me to add below request in this afl. i picked up this afl from net only.

It plots Williams VIX FIX line and in title it gives number.

Is there any way to display in Title last 3 candle sumup value of Williams VIX FIX separately in title? If yes please help me to add the same

Code:
_SECTION_BEGIN("Unnamed 64");
_N(Title = StrFormat(FullName() + "  {{INTERVAL}} {{DATE}} Open %g, High %g, Low %g, Close %g (%.1f%%) Volume " +WriteVal( V, 1.0 ) +"\n{{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
WVF = (HHV (Close,22) - Low)/(HHV(Close,22))*100;

Plot(WVF, "Williams VIX FIX", colorBlue, styleLine);
_SECTION_END();
Instead of simplification ( Sum() etc. ) people seem to like complication ( ...+...+...+..., .... , +... +...+.... etc. ) so much.

Code:
_SECTION_BEGIN( "WVF" );
HHC = HHV( Close, 22 );
WVF = ( HHC - Low ) / HHC * 100;

Plot( WVF, "Williams VIX FIX(%)", colorBlue, styleLine );
_N( Title = StrFormat( FullName() + " {{INTERVAL}} {{DATE}} Open %g, High %g, Low %g, Close %g (%.1f%%) Vol: %g\n{{VALUES}}, Sum WVF = %1.2f%%",
                       O, H, L, C, SelectedValue( ROC( C, 1 ) ), V, Sum( WVF, 3 ) ) );
_SECTION_END();
 

amitrandive

Well-Known Member
Hello amit ji n all seniors here...

i need help to make Amibroker exploration afls for the below conditions -

1st condition for exploration -

Bar 1 & 2 open price is Same.
Bar 2 Close is greater then Bar 1 close




2nd condition for exploration -

Whenever we find a stock closing above UPPER LEVEL of BOLLINGER BAND with VOLUMES above 10 days average then such stocks tend to rise like ROCKET.
(Example - Check CESC & Jublfood works example for the same)

I need exploration for such moves.


thanx you in advance...
Need expert help for 1st exploration.

Just my views
Not all such explosive moves can be caught by technicals.

Jublfood blasted on quarterly results,in CESC there were only buyers on 15th.
Be careful if you to trade stocks like that.

Try something very simple like Jublfood had already broken 20EMA on 13Th May.So you had to just follow it from that day.
Same applies for CESC which touched the 20EMA on 14th but closed below it.

If you watch ACC, it followed your criteria on 2/3/2015 and closed at 1762.8,so if you went long after that day ,it has still not gone to the same price.
 
Need expert help for 1st exploration.

Just my views
Not all such explosive moves can be caught by technicals.

Jublfood blasted on quarterly results,in CESC there were only buyers on 15th.
Be careful if you to trade stocks like that.

Try something very simple like Jublfood had already broken 20EMA on 13Th May.So you had to just follow it from that day.
Same applies for CESC which touched the 20EMA on 14th but closed below it.

If you watch ACC, it followed your criteria on 2/3/2015 and closed at 1762.8,so if you went long after that day ,it has still not gone to the same price.

Amit ji,

atleast help for 2nd exploration ....thanx you
 

KelvinHand

Well-Known Member
cant find true range bar AFL anywhere , only normal ATR afl is available.

cany anyone please provide , true range bar indicator ?
http://www.macroption.com/true-range/

Very simple.

True Range = True High - True Low;

Where:
- True High is Previous Close OR Current High is highest
- True High is Previous Close OR Current Low is Lowest
 
Last edited:

Similar threads