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
## shell commands I used to setup mysql on my raspberryPI and enable SQLyog access to it from my laptop | |
# install mysql using these instructions | |
# http://databaseblog.myname.nl/2013/01/how-to-install-mysql-succesfully-on.html | |
# Verify the MySQL Client was installed | |
mysql --version | |
# alter the settings to enable it to be a server on your lan |
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
select | |
end_SQLDATE as SQLDATE | |
, AVG_GoldsteinScale | |
from | |
( | |
SELECT | |
ending_at_day AS end_SQLDATE | |
, ROUND(AVG(SUMG),5) AS AVG_GoldsteinScale | |
, COUNT(DISTINCT SQLDATE) as C | |
FROM |
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
NR == 1 {sep=""} | |
NR > 2 {sep=","} | |
{ | |
if (NR == 1) { | |
split($0, tags); | |
if (EC == "") EC = "\""; | |
} | |
else { | |
split($0, vals); | |
jrec = sep"{"; |
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
//+------------------------------------------------------------------+ | |
//| My Money Management.mq4 | | |
//| Ryan Sheehy, CurrencySecrets.com | | |
//| http://www.currencysecrets.com | | |
//+------------------------------------------------------------------+ | |
#property copyright "Ryan Sheehy, CurrencySecrets.com" | |
#property link "http://www.currencysecrets.com" | |
//--- input parameters | |
extern double xRiskPerTrade=1; // $ amount of risked per trade |