added chart
This commit is contained in:
parent
89268af36d
commit
c3bfdcad82
@ -92,7 +92,11 @@ function analyze {
|
||||
else
|
||||
f_score=${f_sell_score}
|
||||
f_intrade=1
|
||||
[ -s ${g_tmp}/interim-${tmpfile} ] && f_interim=$(tail -n1 ${g_tmp}/interim-${tmpfile})
|
||||
if [ -s ${g_tmp}/interim-${tmpfile} ]
|
||||
then
|
||||
f_interim=$(tail -n1 ${g_tmp}/interim-${tmpfile})
|
||||
f_interim=$(echo "${f_interim}-${FEE}" | bc)
|
||||
fi
|
||||
fi
|
||||
echo "$line,${f_market_performance},${f_score},${f_buy_score},${f_sell_score},${f_intrade},${f_interim}" >>analyze-${analyzedate}/chart-${tmpfile}
|
||||
# Chart Part End
|
||||
@ -199,7 +203,7 @@ do
|
||||
echo "Price, EMA, Levels" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 2,25,26,27,28,29,30,31,32,33,34,35,4,36,37,38,39 green,DarkSlateGrey,DarkSlateGrey,Gold,DarkOrange,DarkOrange,GoldenRod,GoldenRod,GoldenRod,GoldenRod,DarkOrange,DarkOrange,MidnightBlue,Indigo,DarkSlateBlue,DodgerBlue,DeepSkyBlue >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
echo "Score" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 41,42,44,45 Green,DeepSkyBlue,Orange,Red >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 41,45,44 Green,Red,Orange >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
#echo "Sell Score" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
#genchart analyze-${analyzedate}/chart-${tmpfile} 500 42 green,blue >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
echo "MACD" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
|
Loading…
Reference in New Issue
Block a user