I've modified the original script by WiscoDish to show candles as green while they are smaller than the median of the past 10 candles. Once they become larger than the median they'll change to gray.
I've also added a horizontal median line so you can see how close the candle is to the median candle size.
This is very useful if you're stalking a trade and waiting...
Library for the number of shares purchased
SizeCalc(totalAssets, unit, lossPercent, maxLossPerShere) Calculate the number of shares to be purchased from the initial capital and the maximum loss per share
totalAssets : Initial capital
unit : A unit of the number of shares to be traded in one trade
A little FREE script - which may help people set their trade size and stop levels for bitcoin trades.
NOTE :- This script conveys information that requires "indicator arguments" to be turned on.
TO USE :- To adjust to your requirements, click the cog wheel next to the indicator, and adjust "POT SIZE" (how much dollar you have), "RISK %" (the percentage of...
ATR based position sizing calculator that takes into account the capital, risk percentage and commissions to be paid. Color changes to green as the affordable position size significantly increases relative to recent history.