Can someone code my strategy please. It has good win %.
-
Hi. So this is my trading strategy, I have been using it for the past month or so. The only problem is that it needs to be active 24/5.
I am extremely busy with University at the moment (exams) so I don't have much time during the day.
I tried doing this myself but this is too complicated. I know there is a lot to take in with this method, so I will understand if no one can help me.
I only trade it on 1 Pair (XAU/USD)
Using 5 min tf (I sometimes use Higher tf if a signal appears, but because it is higher tf signals appear rarely)It uses 3 Indicators
-RSI
-50 EMA
-20 EMA
-10 EMAImportant trading rules for BUYS and SELLS
-Stop loss will be below (buys) or above (sells) candles.
-No stacking trades. Only 1 trade can be open at any single given time.
-Put SL to BE when price has moved 1.3 times the risk
-Once in a trade no closing the trade no matter what, either hit TP, BE or SL
-Minimum candle size doesn't matter but the stop loss can not be lower than 50 points (5 pips) so if the candle is smaller
than 50 points the stop loss will automatically be 50 points.
-But size does matter for Maximum candle size. No candles bigger than 120points (12 pips).
-Take profit for most trades will be 1.5 times risk.
-No take profit over 150 points (15 pips) so if the SL is 120 points the tp will automatically be 150 points.There are 3 types of entries for each buy and sell. (only 1 change with each set of rules.)
ENTRY CANDLES ARE AT THE CLOSE OF THE CANDLE AFTER CONFIRMATION
Rules for a buy. #1
*10 and 20 EMA needs to be above 50 EMA
*RSI value needs to be 50 or above
Body of Entry candle needs to be inside 10 and 20 EMA (wicks can go past it)
*Entry candle should be Bullish
*The candle before the entry candle should be a bearish candle
*The RSI value of the Entry candle (bullish) and previous candle (bearish) should not have went below 50.
https://www.tradingview.com/x/taCv4t76/Rules for a buy. #2
*10 and 20 EMA needs to be above 50 EMA
*RSI value needs to be 50 or above
50% or more of the Entry candle body needs to be inside 10 and 20 EMA (wicks can go past it)
*Entry candle should be Bullish
*The candle before the entry candle should be a bearish candle
*The RSI value of the Entry candle (bullish) and previous candle (bearish) should not have went below 50.
https://www.tradingview.com/x/Q6vHEexv/Rules for a buy. #3
*10 and 20 EMA needs to be above 50 EMA
*RSI value needs to be 50 or higher
The open of the Entry candle is below the 10 and 20 EMA (wicks can go past it)
*Entry candle should be Bullish
*The candle before the entry candle should be a bearish candle
*The RSI value of the Entry candle (bullish) and previous candle (bearish) should not have went below 50.
https://www.tradingview.com/x/yzzzJaZe/Rules for a sells. #1
*10 and 20 EMA needs to be bellow 50 EMA
*RSI value needs to be 50 or lower
Entry candle needs to be inside 10 and 20 EMA (wicks can go past it)
*Entry candle should be Bearish
*The candle before the entry candle should be a bullish candle
*The RSI value of the Entry candle (bearish) and previous candle (bullish) should not have went above 50.
https://www.tradingview.com/x/3pMorIpN/Rules for a sells. #2
*10 and 20 EMA needs to be bellow 50 EMA
*RSI value needs to be 50 or lower
50% or more of the Entry candle needs to be inside 10 and 20 EMA (wicks can go past it)
*Entry candle should be Bearish
*The candle before the entry candle should be a bullish candle
*The RSI value of the Entry candle (bearish) and previous candle (bullish) should not have went above 50.
https://www.tradingview.com/x/IpfZ7B7d/Rules for a sells. #3
*10 and 20 EMA needs to be bellow 50 EMA
*RSI value needs to be 50 or lower
The open of the Entry candle is above the 10 and 20 EMA (wicks can go past it)
*Entry candle should be Bearish
*The candle before the entry candle should be a bullish candle
*The RSI value of the Entry candle (bearish) and previous candle (bullish) should not have went above 50.
https://www.tradingview.com/x/lFeZ8zcj/Sorry for the long post.
Any extra questions feel free to ask. -
@ruan-0 This is not a trivial project to implement. Can you please share your current project to review it? I will be happy to help you.
-
ill see what my team and I can do. ill post it and let you know what comes of it in a few days or weeks.
-
I created a version thats is still missing a few things like BE and trailing BE, but before I get there, your extremely tight stop losses are causing undesirable effects because spread and other factors....
here are a few screenshots, so you can ensure the logic is correct. So far only scenario 1 is built, long and short.
you have 3 EMA's used, I called them fast, medium and slow. green, yellow, and red respectively.All I have added for the moment in additional to your rules is a spread filter. Its tradeable as long as the spread right now in the execution moment is less than the last 24 hours average spread.
2 losing trades, low of candle and then 5 pips SL closed this one..

winning trade, 15 pips

winning trade, 150 pips

winning trade, 15 pips

losing trade, candle low SL

losing trade, 5 pips SL

lastly, the curve

-
@tipsywisdom Doesn't look promising.
-
Al final este proyecto nunca se concreto?
-
i m good in moving average strategies and till so far i work on many custom bots using different moving averages but the concusion is only using ma is not a good idea at all . it might give u big profits if u trail but no of stoploss will raise if you will hold trades for big profits