Disliked{quote} You could always try clicking the attachment clip at the top of the page and downloading the EA from there (whichever version you want to use). Cheers maahomeIgnored
- View Post
- Disliked by Thread Starter
Simple easy LOPEN strategy (eurusd) 47 replies
Very simple EA open trade at open of next candle 3 replies
Simple break-out strategy for trading daily chart 19 replies
Creating a Simple Daily Open Price Strategy EA 1 reply
North Finance under DOS Attack 27 replies
strategy("Daily Open Strategy", overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value = 100, initial_capital = 10000) PrevRange = input(0.0100, type=input.float, title="Previous Candle Range") TP = input(200, title="Take Profit in pips") SL = input(1000, title="Stop Loss in pips") startDate = input(title="Start Date", type=input.integer, defval=1, minval=1, maxval=31) startMonth = input(title="Start Month", type=input.integer, defval=1, minval=1, maxval=12) startYear = input(title="Start Year", type=input.integer, defval=2015, minval=1800, maxval=2100) endDate = input(title="End Date", type=input.integer, defval=31, minval=1, maxval=31) endMonth = input(title="End Month", type=input.integer, defval=12, minval=1, maxval=12) endYear = input(title="End Year", type=input.integer, defval=2020, minval=1800, maxval=2100) isLong = strategy.position_size > 0 isShort = strategy.position_size < 0 longTrigger = (open-close) > PrevRange and close<open shortTrigger = (close-open) > PrevRange and close>open inDateRange = (time >= timestamp(syminfo.timezone, startYear, startMonth, startDate, 0, 0)) and (time < timestamp(syminfo.timezone, endYear, endMonth, endDate, 0, 0)) strategy.entry(id = "Long", long = true, when = (longTrigger and not isShort and inDateRange)) strategy.exit("Exit Long", "Long", loss=SL, profit=TP) strategy.entry(id = "Short", long = false, when = (shortTrigger and not isLong and inDateRange)) strategy.exit("Exit Short", "Short", loss=SL, profit=TP)
DislikedIf anyone here is a MetaQuotes Language (MQL) coder and wants to cooperate with me 1 on 1 to develop metatrader 5 expert advisor version, please send me a note to my email address: [email protected] ("[email protected]") CheersIgnored
Disliked{quote} Please send or post your preset. I wanna see what was used for lotsize... thnx I apologize for not answering the latest questions, but I don't have spare time in this period Can you see the message in journal there are the gaps. {image} {image}Ignored
DislikedAs many posters pointed out, there is ample room for enhancements. OP made it very clear he does not tolerate modifications to the original strategy in this thread. I respect that and will create a new thread to exchange ideas about possible improvements.Ignored