CryptoRox

1 minute Forex Scalping Strategy

712 5 68
I took the first result in Google             for "1 minute trading strategy" and put it in to script for back testing.
I was not disappointed.

Fun strategy to play with in back testing.

Enjoy
Comment: All orders are now being tracked in a Google Sheet for public viewing.

Since: 03/01/2016 17:30:00
Net Profit = 49 pips

Link for tracked statistics here:
http://bit.ly/1Sgop0W
Remove from Favorite Scripts Add to Favorite Scripts
//Strategy taken from http://www.dolphintrader.com/1-min-easy-forex-scalping-strategy/
//@version=2
strategy("1 minute Forex Scalping", overlay=true)
a = ema(close, 12)
b = ema(close, 26)
c = sma(close, 55)

TP = input(0)
SL = input(0)
TS = input(0)

long = cross(a, c) and a > b
short = cross(a, c) and a < b
plot(a, title="12", color=red, linewidth=1)
plot(b, title="26", color=blue, linewidth=1)
plot(c, title="55", color=green, linewidth=1)

strategy.entry("Long", strategy.long, 1.0, when=long)
strategy.entry("Short", strategy.short, 1.0, when=short)

TPP = (TP > 0) ? TP : na
SLP = (SL > 0) ? SL : na
TSP = (TS > 0) ? TS : na
strategy.exit("Close Long", "Long", qty_percent=100, profit=TPP, loss=SLP, trail_points=TSP)
strategy.exit("Close Short", "Short", qty_percent=100, profit=TPP, loss=SLP, trail_points=TSP)
Not working :/
Reply
Getting any specific error?
Reply
Doesn't work , it's compiling and doesnt start up
Reply
Very odd that it's not working for some, are you getting an error?
Reply
TASAVANT CryptoRox
No, I see the message compiling and nothing happens after that
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out