Typical Linux partition scheme for dual boot system

Partitions are to be created in same order shown in list below, this example is for 1TB hdd Esp system partition (100~512 MB ) Windows (50 ~ 100 GB) Linux / ( 20 ~ 100 GB) Linux /home (10 ~ 100 GB) Ext4 work partition (?) NTFS data partition (?) Ext4 Encrypted Swap ( 2x…

Windicator update links

At any time if you see errors like plugin update required or incompatible bridge version, then use these links to update your copy, they contain newest build. Current release 20190916 http://www.randomticks.com/downloads/20190907/ Stable release 20190711 http://www.randomticks.com/downloads/20190711/ How to install AmiBroker Plugin Copy librtWindicator.dll file in “C:\Program Files (x86)\AmiBroker\Plugins\“ Copy amibroker.conf in “C:\Program Files (x86)\AmiBroker\“ For our strategy, use AFL…

Correlation coefficient stock vs NIFTY – 5min table

Correlation coefficient or mathematically speaking auto-correlation tells the strength of positive or negative relationship of the price movement between two instruments, this comparison is valid for Index-component, or stock-commodity for almost everything. A positively high value of coefficient means stock tends to rise if the index goes up whereas a high negative value means stock…

AmiBroker backtest with fixed number of quantity

By default AmiBroker backtesting engine, sets some Initial capital and displays ending capital in backtest result, but more often we need to backtest a strategy with a given number quantity instead of how much trading capital we have, as later criteria can pose problems with options where If one has fixed the trading capital, then…

AmiBroker custom bar colors buy sell AFL

Following piece of code is for drawing, coloured bars/candles that changes its colour with signal, it makes easy to understand working of strategy. color = IIf(Flip(Buy, Sell), colorLime, colorLightGrey); color = IIf(Flip(Short, Cover), colorRed, IIf(color != colorLightGrey, color, colorLightGrey)); Plot(C, “C”, color, styleCandle);   Note that all four variables buy, sell, short, cover must be…

A sliding window implementation of AR(1) model for financial time series

Below is working c++ equivalent code snippet I am sharing for curious readers, the auto-correlation regression, also known as AR model are popular and classic method for analysis and forecasting time series such as stock prices. AR models comes with many varieties of which AR(1), the single lag is simplest and easier to implement by…

Useful links

What is a Stochastic Model? A stochastic model represents a situation where uncertainty is present. In other words, it’s a model for a process that has some kind of randomness…   Installing LAMP stack on ubuntu server

Which is more important win-rate or risk-reward ratio ?

Every traders must have come across this epic question of which one to give more value, high winrates or high risk-reward, winrate is – how many of your % trades tend to come out profitable, you can have a 60% winrate which is considered decent, for many experienced traders with 70-80% win rates are not…

How adding more indicators does not increase profits

To answer this in a deterministic manner and not to confuse you further, I would first ask you to throw another important question – whether the indicators you have posses any real edge in market? By edge I mean winning tendency over and above 50%, so if your indicator have winning tendency of 56% then…

Why it is extremely difficult to make dependable income from investing ?

Stock market investing or a mutual funds investment, basically any long term parking of your money in stock market won’t pay you cash if you expect a living from that, well it can make you rich if you are already wealthy, unfortunately you can’t use that money. Let’s understand the paradoxical nature of investing income,…