Created
January 3, 2017 02:15
-
-
Save marketcalls/0186910c1fced1fcbf1f45f2655519bd to your computer and use it in GitHub Desktop.
Hull ROAR - Amibroker AFL Code
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
_SECTION_BEGIN("Hull Roar"); | |
GraphXSpace=1; | |
SetPositionSize(1,spsShares); | |
SetTradeDelays(1,1,0,0); | |
Cutoff=Param("Cutoff",20,0,200,5); | |
hullroar = IIf((200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C)<Cutoff,0,200*(LinearReg(C,52)-Ref(LinearReg(C,52),-26))/C); | |
//Plot Hull Roar | |
Plot(hullroar,"Hull Roar",colorRed,styleHistogram | styleThick); | |
// Hull Roar Exploration | |
Filter =1; | |
AddColumn(Close,"Close",1.2); | |
AddColumn(hullroar,"Hull Roar",1.2); | |
_SECTION_END(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment