Re: Something interesting from Chatgpt/AI please post here

291
hi posting an atr filter-switch. improved upon - the atr modes is a atr switch (a bit of a lab for the atr switch ) it uses a floating atr value which works better than the static value of the first one i posted. you may have to run the code through c-gpt for an explanation of the settings maybe the easiest way to get a handle on it i mostly run close to defaults or i have 1000 period on euro 1m with the threshold mode. the 2nd one is an atr + tick vol agreement. make adjustments to get the green (strong agree more in an area or condensed as you want it ) . i am running the atr switch, with the atr +tick vol agreement, a time filter and a minimum tick vol. check. i am adapting some low time frame strategies to target the busiest times of the day the filters and time help me to target market activity . usually run London to NY overlap or a hour or two before NY open to lunch time or the end of the overlap depending on the pair or target. in the picture the 1st OS-atr switch- the pink is above threshold (allow) the green is below (don't allow). the 2nd is tick vol the 3rd is the peak buy sell it repositions but i am messing with it as a potential TP. the 4th is the atr tick vol agree the green is over threshold (strongly agree - allow) and the rest is not-allow.
wanted to post for any one that was interested to make use of.

my example is i am filtering with these as described above. running an arrow signal gated by a MA change threshold that has to agree with the kama(blue and yellow line - gray area is neutral band) it can not open against the kama. once opened the position is managed by a E.Ratio adaptive jma like the kama (with neutral band) when the trend reverses the position closes. i like this thread. thanks for creating
These users thanked the author nine for the post:
JohnL33


Re: Something interesting from Chatgpt/AI please post here

292
A! Retail

📌 What It Does

This indicator builds a mini dashboard directly on your MT4 chart.

It checks 3 technical indicators (PSAR, RSI, Stochastic) on the M5 timeframe.

Each condition is displayed with a colored box:

Green (Lime) → Bullish condition.

Red → Bearish condition.

If all 3 indicators agree:

All Red → Shows a "BUY!!" signal.

All Green → Shows a "SELL!!" signal.

Once a signal appears, it stays on the chart until the opposite signal is confirmed.

📌 Dashboard Layout

PSAR, RSI, STO → listed as text labels on the chart.

A box is drawn next to each label showing the current condition (Green = Bullish, Red = Bearish).

A big label shows "BUY!!" or "SELL!!" at a user-defined position.

Position is adjustable with SignalX and SignalY inputs.

Dashboard is always visible and refreshes every 2 seconds.
These users thanked the author JohnL33 for the post (total 2):
Abdi, sal
"My Forex Holy Grail? Sure, I'll share it. It's a magical PDF that costs $997 and the first chapter is titled: 'How to Sell a $997 PDF.'"😎

Re: Something interesting from Chatgpt/AI please post here

293
JohnL33 wrote: Mon Sep 15, 2025 1:56 am A! Retail

📌 What It Does
This indicator builds a mini dashboard directly on your MT4 chart.
It checks 3 technical indicators (PSAR, RSI, Stochastic) on the M5 timeframe.
Each condition is displayed with a colored box:
Green (Lime) → Bullish condition.
Red → Bearish condition.
If all 3 indicators agree:
All Red → Shows a "BUY!!" signal.
All Green → Shows a "SELL!!" signal.
G'day Johnl33, could you confirm the blue text above. If it is correct, could you explain why when there are 3 red boxes it would show a BUY signal.

Many thanks
DC

Re: Something interesting from Chatgpt/AI please post here

294
didichung wrote: Tue Sep 16, 2025 4:14 pm G'day Johnl33, could you confirm the blue text above? If it is correct, could you explain why, when there are 3 red boxes, it would show a BUY signal?

Many thanks
DC
Hi didichung,

Grok did an analysis, and this is the answer:
The provided code is an MQL4 custom indicator that creates a simple on-chart dashboard displaying the current states of three technical indicators (Parabolic SAR, RSI, and Stochastic) as colored boxes, along with a persistent "BUY!!" or "SELL!!" signal label when all three align in a specific way. It's designed as a contrarian tool: it signals "BUY!!" when all indicators are bearish and "SELL!!" when all are bullish. The dashboard updates every 2 seconds via a timer, rather than on each new bar or tick.

### Does It Repaint?
No, this indicator does not repaint in the traditional sense. Repainting typically refers to an indicator altering its historical values or signals (e.g., on past closed bars) when new data arrives, which can invalidate backtesting or historical analysis. This code:
- Does not use indicator buffers or plot any historical lines, arrows, or signals on the chart.
- Only displays the current (real-time) state of the indicators and a latched signal via labels and rectangles.
- The signal ("BUY!!" or "SELL!!") latches when conditions are met and persists until the opposite condition occurs—it does not retroactively change or remove past displays.
- However, note that the colored boxes (representing the current indicator states) and potentially the signal can update multiple times *during the formation of the current M5 bar*, as the underlying calculations use shift 0 (live data). This is normal real-time behaviour for any non-repainting indicator that reacts to unfolding price action. Still, it doesn't qualify as repainting since no historical data is involved or altered.

### Does It Work on All Timeframes or Only a Specific One?
It can be attached to charts of any timeframe (e.g., M1, H1, D1), and it will function without issues. However, all underlying indicator calculations (PSAR, RSI, Stochastic) are hardcoded to use M5 (5-minute) data exclusively via `PERIOD_M5`. This means:
- The logic and displayed states are always based on the current M5 bar's data, regardless of the chart's timeframe.
- It does not adapt to or use data from the chart's native timeframe (except for the latest price via `Close[0]`, which is timeframe-agnostic and reflects the most recent tick).
- If attached to a non-M5 chart, the dashboard will still update based on M5 conditions, which could lead to timing mismatches (e.g., slower updates on higher timeframes like H1).

In summary, it's time frame-independent for attachment but time frame-specific (M5-only) in its core logic. If you want it to adapt to different timeframes, the code would need modification (e.g., replacing `PERIOD_M5` with `0` to use the chart's timeframe).
These users thanked the author BeatlemaniaSA for the post:
JohnL33
BEATS V5 - "Enjoy The Quiet Between Trades”

Improve Your Trading Psychology - NO FEAR, NO DOUBT

Ultimate Risk Management - Maximize Your Trades


Re: Something interesting from Chatgpt/AI please post here

298
JohnL33 wrote: Wed Sep 17, 2025 12:35 am It's designed as a contrarian tool: it signals "BUY!!" when all indicators are bearish and "SELL!!" when all are bullish

That why i called it Retail...OB SELL OS BUY

Right pair+Timing+Tool =
thanks john
can you please the same for
cci
half trend
solar wind

CCI is touch /crosses -100 level when half trend and solar wind are in green for UP trend
see snap
"There is NO GOD higher than TRUTH" - Mahatma Gandhi

Re: Something interesting from Chatgpt/AI please post here

299
JohnL33 wrote: Mon Sep 15, 2025 1:56 am A! Retail

📌 What It Does

This indicator builds a mini dashboard directly on your MT4 chart.

It checks 3 technical indicators (PSAR, RSI, Stochastic) on the M5 timeframe.

Each condition is displayed with a colored box:

Green (Lime) → Bullish condition.

Red → Bearish condition.

If all 3 indicators agree:

All Red → Shows a "BUY!!" signal.

All Green → Shows a "SELL!!" signal.

Once a signal appears, it stays on the chart until the opposite signal is confirmed.

📌 Dashboard Layout

PSAR, RSI, STO → listed as text labels on the chart.

A box is drawn next to each label showing the current condition (Green = Bullish, Red = Bearish).

A big label shows "BUY!!" or "SELL!!" at a user-defined position.

Position is adjustable with SignalX and SignalY inputs.

Dashboard is always visible and refreshes every 2 seconds.
John
I use this dash board for entry in M1 tf.. .and testing. so far good.
i have another arrow which gives me confirmation to enter after your dash board give signal as mentioned.
These users thanked the author sal for the post:
JohnL33
"There is NO GOD higher than TRUTH" - Mahatma Gandhi