Login / Join

Technical analysis by adnanmasood455 about Symbol PAXG on 5/8/2025

https://sahmeto.com/message/3494345
،Technical،adnanmasood455

//version=5strategy("XAUSD EMA Crossover Strategy with 1% SL/TP", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100)// EMA settingsfastLength = 9slowLength = 21// EMAsfastEMA = ta.ema(close, fastLength)slowEMA = ta.ema(close, slowLength)// Plot EMAsplot(fastEMA, title="Fast EMA", color=color.orange)plot(slowEMA, title="Slow EMA", color=color.blue)// Crossover logiclongCondition = ta.crossover(fastEMA, slowEMA)shortCondition = ta.crossunder(fastEMA, slowEMA)// 1% stop loss and take profitlongSL = close * 0.99longTP = close * 1.01shortSL = close * 1.01shortTP = close * 0.99// Execute longif (longCondition) strategy.entry("Long", strategy.long) strategy.exit("Long Exit", from_entry="Long", stop=longSL, limit=longTP)// Execute shortif (shortCondition) strategy.entry("Short", strategy.short) strategy.exit("Short Exit", from_entry="Short", stop=shortSL, limit=shortTP)

Translated from: English
Show Original Message
Signal Type: Neutral
Time Frame:
1 day
Price at Publish Time:
$3,320.17
Share
Signals
Top Traders
Feed
Alerts