Given the features below derived from raw OHLCV data you are tasked with using all the…
- User
Given the features below derived from raw OHLCV data you are tasked with using all the features to develop a professional price trend blueprint (you can define it for yourself how you wish), framework or a single equation that accurately describe market trends and can be used to trade consistently and profitably. Where you think you can correct the logic or add something in a feature fully explain your reasons for doing so. You are not to use any data or indicators outside the OHLCV raw data and hopefully the features you are provided with.
Features: Direction (D) - its formula is close-open, if > 0 assign 1, < 0 assign -1, else assign 0 Close Position (CP) - its formula is close-median, if > 0 assign 1, < 0 assign -1, else assign 0 Close to Extremes (CTE) - its formula is (close-low)-(high-close), if > 0 assign 1, < 0 assign -1, else assign 0 Extremes to Open (ETO) - its formula is (high-open)-(open-low), if > 0 assign 1, < 0 assign -1, else assign 0 Volume Change (VC) - its formula is current volume - previous volume, if > 0 assign 1, < 0 assign -1, else assign 0 Trendiness (T) - has two formulas a = current close - previous high and b = current close - previous low, if a > 0 assign 1, if b < 0 assign -1, if a <= 0 and b >= 0 assign 0 Bias (B) - looking the latest three candles 0, 1, and 2 with 2 the oldest, it has two formulas a = close 0 - open 0 and b = sum of [a + (close 1 - open 1) + (close 2 - open 2)], if the sum of a and b is > 0 assign 1 to B, if < 0 assign -1, else assign 0.
- Assistant
- User
Write MQL4 custom indicator for me to test manually. I will do the test on five day M15 data on XAU/USD. Remember the limitations of MQL4. Also use buffers instead of objects with arrows for visual buy/sell signals.
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.