added chart
This commit is contained in:
parent
b90be7a749
commit
4a7e050d82
@ -67,7 +67,7 @@ function analyze {
|
||||
else
|
||||
check_sell_conditions ${g_tmp}/${tmpfile}
|
||||
fi
|
||||
f_buy_score="0"
|
||||
#f_buy_score="0"
|
||||
fi
|
||||
if ! [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||
then
|
||||
@ -77,7 +77,7 @@ function analyze {
|
||||
else
|
||||
check_buy_conditions ${g_tmp}/${tmpfile}
|
||||
fi
|
||||
f_sell_score="0"
|
||||
#f_sell_score="0"
|
||||
fi
|
||||
# Chart Part
|
||||
echo "$line,${f_market_performance},${f_buy_score},${f_sell_score}" >>analyze-${analyzedate}/chart-${tmpfile}
|
||||
@ -184,8 +184,10 @@ do
|
||||
" >analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
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 42,41 green,Indigo >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
echo "Buy Score" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 41 green,Indigo >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
echo "Buy Sell" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 42 green,Indigo >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
echo "MACD" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 8,6,7 >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
echo "RSIs" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
|
Loading…
Reference in New Issue
Block a user