Simple Coding Help - No Promise.

Simplest solution I can give

View attachment 33194

Here my scan is in daily chart
I want to see in 15 minutes
Open 2 charts, 1 daily and 1 for 15 mins
link the symbols in both chart
while daily chart is active.... run scan click symbol to see on chart
then click 15 min and same symbol in lower timeframe with same selection of moment (selector line) will appear.
i dont think any other way its possible
you can try it with any time frames
Thanks
Thanks Ajeetji for taking time to respond with clear pics, much appreciated.

Guys, I am sure most of you got jinxed with "link the symbols in both chart", including me. So I took it to google and none other than Mr Rajendran had explained it very well here in this video :

https://www.marketcalls.in/amibroker/symbol-link-feature-amibroker.html

No offense to you Ajeet, I know you have loads of experience and aware of pretty much everything in Amibroker, unlike me or us :).

Cheers
JS
 
Just want to acknowledge (as I had just tried it), this is an amazing feature, not sure how much more hidden pearls to uncover in Amibroker :).
Thanks for sharing this information Ajeet.

Cheers
JS
 
Only caveat is, let us say you are scanning/exploring in Hourly Timeframe. You cant have the 15 minute chart open, and click on the scrip in the hourly exploration window and expect to see the chart in the 15 Min Chart. You need to be on the Hourly chart, when you click on the scrip/symbol and then switch to 15 mins. Like what Rajendran says if you are able to tile them you should not have a problem, but if you are like me having multiple Indicators, then tiling will probably not help unless you have a 50" screen :).

Cheers
JS
 
Just another query for the experts.

How can we get the scan/exploration results for multiple time frame on the same window (in one scan/exploration window), for e.g. 5,15,30 or 15,30,Hourly. The reason is there are scrips that are there in 15 mins are not there in 30 and viceversa. Not inclined to trade in every signal, but I have noticed this in scan/exploration (no blame to Amibroker), sometimes some strong signals are there in other TF and you get to miss it.

Cheers
JS

I am googling as I type this :).
 

ajeetsingh

Well-Known Member
Thanks Ajeetji for taking time to respond with clear pics, much appreciated.
Guys, I am sure most of you got jinxed with "link the symbols in both chart", including me. So I took it to google and none other than Mr Rajendran had explained it very well here in this video :
https://www.marketcalls.in/amibroker/symbol-link-feature-amibroker.html
No offense to you Ajeet, I know you have loads of experience and aware of pretty much everything in Amibroker, unlike me or us :).
Cheers
JS
Buddy, more easier way,was to ask it here by commenting my reply.
or for quicker reply, you can PM also.
I am not good at all in amibroker.
Anyhow, you got the solution thats great.
Nobody is born genius, only fails makes us stand.
 

josh1

Well-Known Member

Range = (H-L);
AveragePrice = (H+L)/2;
RangePercent = Range/AveragePrice * 100;

Plot(RangePercent,"RangePercent",ParamColor("Percent Color", colorBlue),styleLine);
ARP = MA(RangePercent,Param("ARP MA Period",10,5,100,1));
Plot(ARP,"ARP",ParamColor("ARP Color", colorTan),styleLine);


The above code gives me Percentage of trading range with respect to Average Price of scrip. That helps me to decide whether to do day trading in the scrip. Higher the percentage, more movement during the day vis-a-vis price so more chances of making money intra-day.
When I plot it with its moving average, it gives me an indication of volatility on the next couple of days. When Range is turning down towards MA, scrip movement is sluggish. Do not trade or I will get whipsaws. When Range is turning up towards MA, volatility is increasing. Look for day trading in the scrip.

What I want is Columns in Analysis/Exploration for "Scrip name" "RangePercent" and "ARP". To look for which scrips have highest volatility.
Please help.

Screenshot from 2019-02-12 22-13-29.png
 

extremist

Well-Known Member

Range = (H-L);
AveragePrice = (H+L)/2;
RangePercent = Range/AveragePrice * 100;

Plot(RangePercent,"RangePercent",ParamColor("Percent Color", colorBlue),styleLine);
ARP = MA(RangePercent,Param("ARP MA Period",10,5,100,1));
Plot(ARP,"ARP",ParamColor("ARP Color", colorTan),styleLine);


The above code gives me Percentage of trading range with respect to Average Price of scrip. That helps me to decide whether to do day trading in the scrip. Higher the percentage, more movement during the day vis-a-vis price so more chances of making money intra-day.
When I plot it with its moving average, it gives me an indication of volatility on the next couple of days. When Range is turning down towards MA, scrip movement is sluggish. Do not trade or I will get whipsaws. When Range is turning up towards MA, volatility is increasing. Look for day trading in the scrip.

What I want is Columns in Analysis/Exploration for "Scrip name" "RangePercent" and "ARP". To look for which scrips have highest volatility.
Please help.

View attachment 33354
just for u i came here bro
after almost a year.....

Code:
Range = (H-L);
AveragePrice = (H+L)/2;
RangePercent = Range/AveragePrice * 100;

Plot(RangePercent,"RangePercent",ParamColor("Percent Color", colorBlue),styleLine);
ARP = MA(RangePercent,Param("ARP MA Period",10,5,100,1));
Plot(ARP,"ARP",ParamColor("ARP Color", colorTan),styleLine);
id = RangePercent>=ARP;
Filter = id;
AddColumn(RangePercent,"RangePercent");
AddColumn(ARP,"ARP");
please run this exploration on daily tf.
Tell me if it is of any use to u.
else we can enhance it.
thanks to monkeybussiness for pointing me to this post.
gave me opportunity to help u
 
just for u i came here bro
after almost a year.....

Code:
Range = (H-L);
AveragePrice = (H+L)/2;
RangePercent = Range/AveragePrice * 100;

Plot(RangePercent,"RangePercent",ParamColor("Percent Color", colorBlue),styleLine);
ARP = MA(RangePercent,Param("ARP MA Period",10,5,100,1));
Plot(ARP,"ARP",ParamColor("ARP Color", colorTan),styleLine);
id = RangePercent>=ARP;
Filter = id;
AddColumn(RangePercent,"RangePercent");
AddColumn(ARP,"ARP");
please run this exploration on daily tf.
Tell me if it is of any use to u.
else we can enhance it.
thanks to monkeybussiness for pointing me to this post.
gave me opportunity to help u

@josh1 / @extremist: Just a small addition may improve the view.

Code:
Diff = RangePercent - ARP;
AddColumn(Diff,"Diff");
SetSortColumns(-5 );
 

josh1

Well-Known Member
just for u i came here bro
after almost a year.....

Code:
Range = (H-L);
AveragePrice = (H+L)/2;
RangePercent = Range/AveragePrice * 100;

Plot(RangePercent,"RangePercent",ParamColor("Percent Color", colorBlue),styleLine);
ARP = MA(RangePercent,Param("ARP MA Period",10,5,100,1));
Plot(ARP,"ARP",ParamColor("ARP Color", colorTan),styleLine);
id = RangePercent>=ARP;
Filter = id;
AddColumn(RangePercent,"RangePercent");
AddColumn(ARP,"ARP");
please run this exploration on daily tf.
Tell me if it is of any use to u.
else we can enhance it.
thanks to monkeybussiness for pointing me to this post.
gave me opportunity to help u
I wanted scrips that are likely to be volatile today. So I changed - id = Cross(RangePercent,ARP); Explored for 12/02/2019
for NIFTY scrips and 3-4 more. 5 days moving average.
Got some interesting results.

Found some interesting results. These scrips should be volatile today
Code:
Ticker                Date/Time    RangePercent    ARP    Diff
JINDALSTEL    12/02/19    10.67    6.27    4.4
SAIL                  12/02/19    7.46    5.15    2.31
SUNPHARMA   12/02/19    4.6    3.51    1.09
UPL                   12/02/19    2.6    2.5    0.1
HCLTECH         12/02/19    2.41    2.37    0.04
HDFC               12/02/19    2.86    2.04    0.83
INFY                 12/02/19    2.58    2.01    0.57
Also I wanted to find generally voltile scrips. So changed Filter = 1; and explored for today.
Found that below scrips are currently moving more than 3.5% of their average price. Ideal for trading.
JSON:
Ticker    ARP
GRAPHITE    7.92
ZEEL    6.85
IBULHSGFIN    6.5
JINDALSTEL    6.27
PRAJIND    5.68
TATAMOTORS    5.6
VEDL    5.23
SAIL    5.15
YESBANK    4.7
TATASTEEL    4.17
EICHERMOT    3.96
APOLLOTYRE    3.79
SIEMENS    3.78
SUNPHARMA    3.51
Nifty and BNF are well below. Let us see.
 

lvgandhi

Well-Known Member
I wanted scrips that are likely to be volatile today. So I changed - id = Cross(RangePercent,ARP); Explored for 12/02/2019
for NIFTY scrips and 3-4 more. 5 days moving average.
Got some interesting results.

Found some interesting results. These scrips should be volatile today
Code:
Ticker                Date/Time    RangePercent    ARP    Diff
JINDALSTEL    12/02/19    10.67    6.27    4.4
SAIL                  12/02/19    7.46    5.15    2.31
SUNPHARMA   12/02/19    4.6    3.51    1.09
UPL                   12/02/19    2.6    2.5    0.1
HCLTECH         12/02/19    2.41    2.37    0.04
HDFC               12/02/19    2.86    2.04    0.83
INFY                 12/02/19    2.58    2.01    0.57
Also I wanted to find generally voltile scrips. So changed Filter = 1; and explored for today.
Found that below scrips are currently moving more than 3.5% of their average price. Ideal for trading.
JSON:
Ticker    ARP
GRAPHITE    7.92
ZEEL    6.85
IBULHSGFIN    6.5
JINDALSTEL    6.27
PRAJIND    5.68
TATAMOTORS    5.6
VEDL    5.23
SAIL    5.15
YESBANK    4.7
TATASTEEL    4.17
EICHERMOT    3.96
APOLLOTYRE    3.79
SIEMENS    3.78
SUNPHARMA    3.51
Nifty and BNF are well below. Let us see.
How was the result
 

Similar threads