Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // EUR/USD
- //Timeframe: 15 Minuti
- // Pattern Versione Larry William: if close[1] < open[1] and close < low[1] then buy at market;
- inputs: sl(700), shortOn(0), longOn(0);
- if time = 0 and c > c[1] and marketposition = 0 and shortOn = 1 then sellshort next bar at market;
- if time = 800 and marketposition <= 0 then begin
- buytocover next bar at market;
- if h > h[1] and c < c[1] and longOn = 1 then buy next bar at market;
- end;
- if time = 2300 and marketposition > 0 then sell next bar at market;
- setstoploss_pt(sl);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement