Created
November 30, 2014 07:27
-
-
Save marketcalls/179bc05fe0bd151f2b37 to your computer and use it in GitHub Desktop.
Replace Auto Trading Strategy
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
| if(EnableStrategy == "Yes") | |
| { | |
| /*~~~~~~~~~~~~~~~~AutoTrade Strategy~~~~~~~~~~~~~~~~~~~~~~*/ | |
| /* | |
| You Have to replace the below code with your strategy | |
| Strictly don't use the bellow Buy/Sell code for real Trading | |
| */ | |
| /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ | |
| Buy = Cross(MACD(12, 26), Signal(12, 26, 9)); | |
| Sell = Cross(Signal(12, 26, 9), MACD(12, 26)); | |
| Short = Cross(Signal(12, 26, 9), MACD(12, 26)); | |
| Cover = Cross(MACD(12, 26), Signal(12, 26, 9)); | |
| /*~~~~~~~~~~~~~~~End Of AutoTrade Strategy~~~~~~~~~~~~~~~~*/ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment