Pavel Pavlov

Results 19 comments of Pavel Pavlov

style: `mc = mpf.make_marketcolors(up='#2A3FE5',down='#DB39AE',inherit=True)` `s = mpf.make_mpf_style(base_mpl_style='./ibd.mplstyle',marketcolors=mc, gridstyle='-', mavcolors=['green','red', 'blue, 'black'],y_on_right=True)` `lim_bottom = stock_data_slice['RS_line'].min() *0.9 lim_top = stock_data_slice['close'].max() * 1.1` `mpf.plot(stock_data_slice, volume=True,figratio=(29,21),style=s, addplot [rs_line,sp500,sma50,sma150,sma200,ema21,vol50],xrotation=0, datetime_format='%d/%m/%y', volume_panel=2, main_panel=1, type='ohlc', panel_ratios=(0.8,5,1.5), scale_width_adjustment=dict(volume=0.3),tight_layout=True,...

Here the code for making the chart as my picture. I'm not a pro coder and it's a draft edition, maybe you can find there something useful. I didn't write...

Is it possible to put Volume Chart in the same chart with OHLC chart with using mplfinance return the Figure and Axes objects. Because that didn't work: `fig = mpf.figure(style=ibd,...

I guess I can make something interesting soon ))) I started to learn matplotlib and there are tons of interesting features inside The last result, but I haven't upload code...

I don't know how to set volume ticks as normal numbers like 234.23 Mln, for example, when I have changed volume y-axis to log mode. I suppose I need to...

Thanks a lot, I will use the parts of your code While I tried to find my own way I did that: ``` #enable volume log scale ax2.set_yscale('symlog') ax2.yaxis.set_major_formatter(mticker.FuncFormatter(lambda x,...

ibd style file ![image](https://user-images.githubusercontent.com/6585513/105625052-7b503b80-5e37-11eb-93c7-d93615b901d6.jpeg) ``` style = dict(style_name = 'ibd', base_mpl_style= 'fast', marketcolors = {'candle' : {'up':'#2A3FE5', 'down':'#DB39AD'}, 'edge' : {'up':'#2A3FE5', 'down':'#DB39AD'}, 'wick' : {'up':'#2A3FE5', 'down':'#DB39AD'}, 'ohlc' : {'up':'#2A3FE5', 'down':'#DB39AD'},...

![image](https://user-images.githubusercontent.com/6585513/107880913-cf0feb00-6ef2-11eb-8d08-7d8b14f3f6aa.jpeg)

thanks! try this https://gist.github.com/ghost355/6e169c87a5bbcbf5aaec754ffb19ded7 now, I try to make the same but with pure matplotlib only for more control

Suppose I found something ))) I need add `ax2.set_ylim(0,0.5)` AFTER `mpf.plot()`