Let's trade using computer science!


Altcoin maximum price calculator



[insert_php] echo ‘ ‘; if(!empty($_REQUEST[‘ticker’])) $Ticker = strtolower($_REQUEST[‘ticker’]); else { //echo “Wrong ticker!”; $Ticker=”monero”; //return; } echo “
“; echo “

This tool calculates the maximum theoretical price estimation for “.$Ticker.” coin, with an assumption it will reach the same marketcap as Bitcoin with a similar supply level. The equation is:

MaxPrice(“.$Ticker.”) = MarketCap(BTC) / (SupplyLevel(BTC) * MaxSupply(“.$Ticker.”))
Note1: if \”Supply\” is equal to \”MaxSupply\” like for monero coin, then SupplyLevel(BTC) is set to 1
Note2: if \”Supply\” > \”SupplyLevel(BTC)\”, then SupplyLevel(BTC)* MaxSupply(“.$Ticker.”) = \”Supply\”

“; echo ““; echo ““; $MaxPriceTicker=round(($MarketCapBTC/$SupplyLevelPrediction)/$Price,2); echo “
“; echo ““; echo ““; echo ““; $Fiat=”USD”; $TickerBTC=”bitcoin”; $Url=”https://api.coinmarketcap.com/v1/ticker/”.$TickerBTC.”/?convert=”.$Fiat; $Raw = file_get_contents($Url); $Raw=str_replace(“{“,””,$Raw); $Raw=str_replace(“}”,””,$Raw); $Raw=str_replace(“[“,””,$Raw); $Raw=str_replace(“]”,””,$Raw); $Raw=str_replace(“\””,””,$Raw); $Raw1Exploded=explode(“,”,$Raw); foreach($Raw1Exploded as $Line) { if(stripos($Line,”price_usd”)==TRUE) { $LineExploded=explode(“:”,$Line); $PriceBTC=$LineExploded[1]; echo ““; } if(stripos($Line,”market_cap_usd”)==TRUE) { $color=”bgcolor=\”lightgreen\””; $LineExploded=explode(“:”,$Line); $MarketCapBTC=$LineExploded[1]; echo ““; } if(stripos($Line,”available_supply”)==TRUE) { $LineExploded=explode(“:”,$Line); $Supply=$LineExploded[1]; echo ““; } if(stripos($Line,”max_supply”)==TRUE) { $LineExploded=explode(“:”,$Line); $MaxSupply=$LineExploded[1]; echo ““; } } $SupplyLevelBTC=100*$Supply/$MaxSupply; $color=”bgcolor=\”salmon\””; echo ““; echo “
SymbolParamValue
BTCPrice($): “.str_replace(” “,””,round($PriceBTC,2)).”
BTC MarketCap($): “.str_replace(” “,””,round($MarketCapBTC/1000000,0)).”M
BTC Supply: “.round($Supply/1000000,0).”M
BTC MaxSupply: “.round($MaxSupply/1000000,0).”M
BTC SupplyLevel: “.round($SupplyLevelBTC,2).”%
“; echo “
“; //$Ticker=”vertcoin”; $Url=”https://api.coinmarketcap.com/v1/ticker/”.$Ticker.”/?convert=”.$Fiat; $Raw = file_get_contents($Url); $Raw=str_replace(“{“,””,$Raw); $Raw=str_replace(“}”,””,$Raw); $Raw=str_replace(“[“,””,$Raw); $Raw=str_replace(“]”,””,$Raw); $Raw=str_replace(“\””,””,$Raw); $Raw1Exploded=explode(“,”,$Raw); echo ““; echo ““; echo ““; foreach($Raw1Exploded as $Line) { if(stripos($Line,”symbol”)==TRUE) { $LineExploded=explode(“:”,$Line); $Symbol=$LineExploded[1]; //echo “Symbol: “.$Symbol.”
“; } if(stripos($Line,”price_usd”)==TRUE) { $LineExploded=explode(“:”,$Line); $Price=$LineExploded[1]; echo ““; } if(stripos($Line,”market_cap_usd”)==TRUE) { $LineExploded=explode(“:”,$Line); $MarketCap=$LineExploded[1]; echo ““; } if(stripos($Line,”available_supply”)==TRUE) { $LineExploded=explode(“:”,$Line); $Supply=$LineExploded[1]; echo ““; } if(stripos($Line,”total_supply”)==TRUE) { $LineExploded=explode(“:”,$Line); $TotalSupply=$LineExploded[1]; //echo ““; } if(stripos($Line,”max_supply”)==TRUE) { $LineExploded=explode(“:”,$Line); $MaxSupply=$LineExploded[1]; if($MaxSupply==0) $MaxSupply=$TotalSupply; $color=”bgcolor=\”aqua\””; if($Ticker==”ripple”) { $MaxSupply=$MaxSupply-55000000000; echo ““; } else echo ““; } } if($MaxSupply!=$Supply) { if(100*$Supply/$MaxSupply<=$SupplyLevelBTC) $SupplyLevelPrediction=$MaxSupply*$SupplyLevelBTC/100; else $SupplyLevelPrediction=$Supply; } else $SupplyLevelPrediction=$MaxSupply; $MaxPrice=round($MarketCapBTC/$SupplyLevelPrediction,2); echo "“; echo “
SymbolParamValue
“.$Symbol.”Price($): “.str_replace(” “,””,round($Price,2)).”
“.$Symbol.”MarketCap($): “.str_replace(” “,””,round($MarketCap/1000000,0)).”M
“.$Symbol.”Supply: “.round($Supply/1000000,0).”M
“.$Symbol.”MaxSupply: “.round($MaxSupply,0).”
“.$Symbol.”MaxSupply: “.round($MaxSupply/1000000,0).”M*
“.$Symbol.”MaxSupply: “.round($MaxSupply/1000000,0).”M
“.$Symbol.”MaxPrice($): “.round($MaxPrice,2).”
“; echo ‘

‘; echo “
“; echo “
“; echo “

Usage: https://www.coensio.com/wp/altcoin-price-calculator/?ticker=TICKER, or click one of the tickers below:
“; echo “

GROWTH POTENTIAL (ROI) RANKING TABLE TOP 200:
“; echo “

“; echo ““; echo ““; //$Url=”https://api.coinmarketcap.com/v1/ticker/”; $Url=”https://api.coinmarketcap.com/v1/ticker/?start=1&limit=200″; $Raw = file_get_contents($Url); $Raw=str_replace(“{“,””,$Raw); $Raw=str_replace(“}”,””,$Raw); $Raw=str_replace(“[“,””,$Raw); $Raw=str_replace(“]”,””,$Raw); $Raw=str_replace(“\””,””,$Raw); $Raw1Exploded=explode(“,”,$Raw); //$TickerArray[NULL]=0; foreach($Raw1Exploded as $Line) { //echo $Line.”
“; if(strpos($Line,”id”)==TRUE) { $LineExploded=explode(“:”,$Line); $Symbol=$LineExploded[1]; } if(strpos($Line,”price_usd”)==TRUE) { $LineExploded=explode(“:”,$Line); $Price=$LineExploded[1]; //echo “
“; } if(stripos($Line,”rank”)==TRUE) { $LineExploded=explode(“:”,$Line); $Rank=$LineExploded[1]; //echo “
“; } if(stripos($Line,”market_cap_usd”)==TRUE) { $LineExploded=explode(“:”,$Line); $MarketCap=$LineExploded[1]; //echo ““; } if(stripos($Line,”available_supply”)==TRUE) { $LineExploded=explode(“:”,$Line); $Supply=$LineExploded[1]; //echo ““; } if(stripos($Line,”total_supply”)==TRUE) { $LineExploded=explode(“:”,$Line); $TotalSupply=$LineExploded[1]; //echo ““; } if(stripos($Line,”max_supply”)==TRUE) { $LineExploded=explode(“:”,$Line); $MaxSupply=(double)$LineExploded[1]; if($MaxSupply==0) $MaxSupply=$TotalSupply; if(stripos($Symbol,”ripple”)) { $MaxSupply=$MaxSupply-55000000000; //echo $Symbol.” “.$MaxSupply; } $color=”bgcolor=\”aqua\””; //echo ““; } if($MaxSupply!=$Supply) { if(100*$Supply/$MaxSupply<=$SupplyLevelBTC) $SupplyLevelPrediction=$MaxSupply*$SupplyLevelBTC/100; else $SupplyLevelPrediction=$Supply; } else $SupplyLevelPrediction=$MaxSupply; $MaxPrice=round(($MarketCapBTC/$SupplyLevelPrediction)/$Price,2); $TickerArray[$Symbol]= $MaxPrice; } $TickerArrayResults = array_unique($TickerArray); //$TickerPriceArrayResults = array_unique($TickerPriceArray); arsort($TickerArrayResults); $Cnt=0; foreach ($TickerArrayResults as $Key => $Value) { $Key=str_replace(” “,””,$Key); if($Cnt==0) { $MaxPrice=$Value; $Outcome=round(100*$MaxPriceTicker/$MaxPrice); echo ‘‘; if($Key==$Ticker) { $Cnt=$Cnt+1; continue; } } $Outcome=round(100*$Value/$MaxPrice); //$Outcome=round(100*$Value/$Price/$MaxPrice); if($Key==$Ticker) { //echo ‘‘; $Cnt=$Cnt+1; continue; } else echo ‘‘; $Cnt=$Cnt+1; } echo “
“.$Symbol.” Price($): “.str_replace(” “,””,round($Price,2)).”
“.$Symbol.” Price($): “.str_replace(” “,””,round($Price,2)).”
“.$Symbol.”MarketCap($): “.str_replace(” “,””,round($MarketCap/1000000,0)).”M
“.$Symbol.”Supply: “.round($Supply/1000000,0).”M
“.$Symbol.”MaxSupply: “.round($MaxSupply,0).”
“.$Symbol.”MaxSupply: “.round($MaxSupply/1000000,0).”M
‘.$Ticker.’ *
x’.$MaxPriceTicker.’


‘.$Key.’ *
x’.$Value.’


‘.$Key.’
x’.$Value.’


“; echo “
Data source: coinmarketcap.com

“; [/insert_php]

Leave a Reply

Your email address will not be published. Required fields are marked *

Short about me

Welcome to my Blog!

My name is Chris, I'm a Dutch engineer with Polish roots. By day I'm an engineer, system trader and an internet entrepreneur, and by night I'm fighting internet crime;) I hope you will enjoy my website and my free MT4 software. Do not forget to check out my blog.
B.t.w: 'coensio' (Latin) = assessing, assessment, census, estimating, opinion, rating, taxing.

Get free coensio strategies!
Coensio MT4 Charts
Follow me on Facebook!