Created
November 24, 2014 01:09
-
-
Save marketcalls/53506773a12fd86e12fc to your computer and use it in GitHub Desktop.
Multitimeframe Pattern Scanner
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
shootingstar = (((H-L)>4*(O-C)) AND ((H-C)/(.001+H-L)>= 0.75) AND ((H-O)/(.001+H-L)>= 0.75)); | |
neardoji = (abs(O-C)<= ((H-L)*0.1)); | |
pattern = WriteIf(shootingstar,"Shooting Star",WriteIf(neardoji ,"Near Doji","N/A")); | |
for ( i = 1; i <= 30; i++ ) // 1minute to 30minute | |
{ | |
TimeFrameSet( i * in1Minute ); | |
AddColumn(c,"Ïnterval",1,colorWhite,colorGreen); | |
AddTextColumn(pattern,"Pattern",1,colorWhite,colorgreen); | |
TimeFrameRestore(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment