Skip to content

Instantly share code, notes, and snippets.

@jacekd
Created October 19, 2012 12:26
Show Gist options
  • Save jacekd/3918007 to your computer and use it in GitHub Desktop.
Save jacekd/3918007 to your computer and use it in GitHub Desktop.
MT4 autohotkey
;
; MT4
;
#IfWinActive ahk_class MetaQuotes::MetaTrader::4.00
;
; Templates
;
#H::Send {Alt}CT{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}{End} ; Harmonics Template
#S::Send {Alt}CT{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}{End} ; Harmonics + Sonar Template
#D::Send {Alt}CT{Down}{Down}{Down}{Down}{Down}{Enter}{End} ; Default Template
;
; Timeframes
;
^1::Send {Esc}+{Enter}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}H1{Enter} ; H1
^3::Send {Esc}+{Enter}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}M30{Enter} ; M30
^4::Send {Esc}+{Enter}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}H4{Enter} ; H4
^5::Send {Esc}+{Enter}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}D1{Enter} ; Daily
;
; Indicators
;
; Stoch enable / Disable
#o::Send {Alt}II{Enter}{Enter}
#w::Send ^i{End}!d!c
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment