This file contains hidden or 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
| // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ | |
| // © manu2302 | |
| //@version=5 | |
| indicator("My script") | |
| t1 = time(timeframe.period, "0930-1600:23456", "America/New_York") | |
| [tickNYSE] = request.security("TICK.NY", timeframe.period, [close]) | |
| [tickNASDAQ] = request.security("TICK.NQ", timeframe.period, [close]) | |
| [tickSP500] = request.security("TICK.US", timeframe.period, [close]) |
This file contains hidden or 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
| # Install Eclipse - https://www.tecmint.com/install-eclipse-ide-in-centos-rhel-fedora/ | |
| wget http://ftp.yz.yamagata-u.ac.jp/pub/eclipse/oomph/epp/2020-12/R/eclipse-inst-linux64.tar.gz -P $INSTALL_DIR | |
| tar -xvf $INSTALL_DIR/eclipse-inst-linux64.tar.gz -C $INSTALL_DIR | |
| sudo $INSTALL_DIR/eclipse-installer/eclipse-inst | |
| # Install IntelliJ IDEA | |
| INTELLIJ_VERSION=2022.3.1 | |
| echo 'Download IntelliJ IDEA from https://www.jetbrains.com/idea/download/' | |
| rm -rf $HOME/Applications/idea && mkdir -p $HOME/Applications/idea && tar -xzvf $HOME/Downloads/ideaIU-$INTELLIJ_VERSION.tar.gz --strip-components 1 -C $HOME/Applications/idea | |
| # Create launcher in AMZN linux: $ sudo vi /usr/share/applications/idea.desktop |
This file contains hidden or 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 | |
| INSTALL_DIR=/tmp/install/ | |
| mkdir -p $INSTALL_DIR | |
| # Prepare yum | |
| echo 'Prepare yum...' | |
| sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg | |
| sudo rpm -v --import https://yum.corretto.aws/corretto.key | |
| sudo yum-config-manager --add-repo https://yum.corretto.aws/corretto.repo |