Hi
Iam new to prorealcode , and i would like to create this strategy.
Can anyone help?
Indicators:
200EMA;
50EMA;
20EMA.
Stochastic (14,3,3,);
Trendline Indicator (or manual draw Trendline).
Long Entry
Find an up trending market 20EMA>50EMA>200EMA(up trend).
2. Wait for the price to pullback towards the rising Trend line.Go long in the vicinity of the rising Trend line if the Stochastic Oscillator turns positive from oversold market conditions.
3. Place stop 3 pips below the most recent level of support.
4. Place Profit Target 35-35 pips
Short Entry
Find an up trending market 20EMA<50EMA<200EMA(down trend).
2. Wait for the price to pullback towards the rising Trend line.Go long in the vicinity of the rising Trend line if the Stochastic Oscillator turns negative from overbougth market conditions.
3. Place stop 3 pips below the most recent level of resistance.
4. Place Profit Target 35-35 pips
Regards
Before anyone can code that strategy for you you will need to define exactly how the trend line is to be drawn and exactly how the support and resistance values are to be calculated.
A coded strategy cannot see a trend line that you have manually drawn it needs to calculate at least two points that it would be drawn through to then be able to project the calculation forward to get a y value for all future bars.