TradingView
ParCorn
Jul 24, 2018 6:13 AM

Breakout Scalper 

E-mini S&P 500 FuturesCME

描述

first draft of a breakout scalper which uses a fast and slow window

sets up some entry stops and then a trailing exit stop. performs a manual close when going sideways.

版本注释

uses the mid-range of two time periods to capture breakouts and close with trailing stop

uses a minimum cloud size to filter out periods of choppiness

版本注释

add strategy.cancel for when the buy signal expires without an entry
评论
masoud9047
i run this code in metaeditor but see under errors how can fix it?

'strategy' - unexpected token, probably type is missing? breake out.mq4 2 1
'Breakout Scalper' - declaration without type breake out.mq4 2 10
'Breakout Scalper' - comma expected breake out.mq4 2 10
'overlay' - declaration without type breake out.mq4 2 30
'fast_window' - semicolon expected breake out.mq4 4 1
'fast_window' - unexpected token, probably type is missing? breake out.mq4 4 1
'input' - unexpected token breake out.mq4 4 15
'title' - undeclared identifier breake out.mq4 4 21
',' - unexpected token breake out.mq4 4 40
implicit conversion from 'string' to 'number' breake out.mq4 4 27
'type' - undeclared identifier breake out.mq4 4 42
'type' - some operator expected breake out.mq4 4 42
'=' - semicolon expected breake out.mq4 4 46
'=' - expressions are not allowed on a global scope breake out.mq4 4 46
')' - unexpected end of program breake out.mq4 55 47

thanks a lot
CashAthletes
ok home boy im gonna give it a try
JoelFilipe
Freaking Amazing!
更多