Hi @Ranjithkumar877, As you have programming skill, defining a strategy for profit will be a lot easier. There are many ways to develop a strategy. There are also many way to generate profit from trading. They can be white strategy, gray strategy and black strategy. These are because market is so huge and naturally having weaknesses, making holes that can be used to generate profit.
I assume you are a retail trader, so I will only talk about white strategy.
The best method to create a trading bot by observing instrument’s character. Never think of a strategy that can fit all instruments.
From my experiences, good EA works base on indicator. So you have to observe which indicator can be used for an instrument. I also found that only indicator can reflect price action can be potential. So the tips will be observe which indicator can mimicking price action is the one you can use.
The basic of price action is detecting market trend and entry zone. So you need to have at least 2 indicators to identify trend and entry level.
If you are following price action strictly, you should have profit factor around 1.5. So, your system should be around 1.5 as well. ( 1.5 RR )