This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pkill -f 'cRe5520\.py' | |
read -p '[ Hit Enter or Ctrl+C ]$ ' -t 10 | |
nohup python3 ./cRe5520.py >/dev/null 2>&1 & | |
echo -e "\nsystem'cRe5520' has started..." | |
pgrep -af 'cRe5520\.py' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=3 | |
strategy( | |
title='Channel breakout trading strategy', | |
shorttitle='cRe5520', | |
overlay=true, | |
initial_capital=1000, | |
default_qty_type=strategy.percent_of_equity, | |
default_qty_value=100, | |
commission_type=strategy.commission.percent, | |
commission_value=0.075, |