Re: Something interesting from Chatgpt/AI please post here

161
JohnL33 wrote: Sat Jun 14, 2025 2:19 pm A! current real-time leverage

Why This Matters:

Brokers often reduce leverage during high-impact news to manage risk
You need to know when this happens as it affects your position sizing
Initial leverage gives you a reference to know what your "normal" leverage should be

Benefits:

News Event Tracking: You can see exactly when brokers changed leverage during news
Historical Record: Know the precise timing of leverage modifications
Pattern Recognition: Track if brokers consistently change leverage at specific times
Audit Trail: Useful for complaints or discussions with your broker.

This version more stabil
Now when you:

Change timeframes ✅ Lines and data persist
Detach/reattach indicator ✅ All data reloads
Restart MT4 ✅ Historical events display
Switch charts ✅ Each chart maintains its own data

The indicator will now maintain all your leverage change history permanently across all sessions and timeframe changes!
These users thanked the author JohnL33 for the post:
Abdi
"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

164
sal wrote: Tue Jun 17, 2025 1:18 am hai to all experts
any one has zigzag double top/bottom zone (high wicks/ low wicks position of zigzag point) indicator mt4. if have, please share
World Gonna End Soon..I will Post One Of My Best Creation Soon..Good For Pullback System..Good Risk and Reward.
1st JULY
These users thanked the author JohnL33 for the post (total 3):
Abdi, waal69, Jonex1995
"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

165
Fractals Kharko NRP MTF

I modified this Fractal Kharko NRP indicator with Grok AI from X.com to use it in MTF mode.

I couldn't do it with ChatGPT, as it was a mess.

It would be helpful for master coders to review the code to make sure everything is in order.
These users thanked the author pin12 for the post (total 5):
Abdi, JohnL33, FredericoA, Jonex1995, Krunal Gajjar


Re: Something interesting from Chatgpt/AI please post here

166
pin12 wrote: Thu Jun 26, 2025 2:58 am Fractals Kharko NRP MTF

I modified this Fractal Kharko NRP indicator with Grok AI from X.com to use it in MTF mode.

I couldn't do it with ChatGPT, as it was a mess.

It would be helpful for master coders to review the code to make sure everything is in order.
Free Version ChatGPT very Bad.I always use claude.ai with multiply email ID.If code too long i use deep.Yup..any master coder can view the code..Or Ask Ai to chk..Haha
"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

168
pin12 wrote: Thu Jun 26, 2025 2:58 am Fractals Kharko NRP MTF

I modified this Fractal Kharko NRP indicator with Grok AI from X.com to use it in MTF mode.

I couldn't do it with ChatGPT, as it was a mess.

It would be helpful for master coders to review the code to make sure everything is in order.
Hai bro
hows the arrow popup in MTF ? after tf period last bar or first bar. may repaint ??
possible to add alert message
These users thanked the author sal for the post:
Jonex1995
"There is NO GOD higher than TRUTH" - Mahatma Gandhi

Re: Something interesting from Chatgpt/AI please post here

169
MetaQuotes officially released MetaTrader 4, along with the MQL4 programming language, on July 1, 2005
newsfilecorp.com
+15
metatrader4.com
+15
de.wikipedia.org
+15
.

As of today (June 28, 2025) you can calculate the number of days since then like this:

Time span: July 1, 2005 to June 28, 2025

That's just shy of 20 years (2 days short)

Total days = 20 × 365 + 5 leap days (2008, 2012, 2016, 2020, 2024) − 2 days

= 7,300 + 5 − 2 = 7,303 days

So if we assume MetaQuotes (or the community) created exactly 1 MQL4 file per day, that would amount to approximately 7,303 pieces of MQL4 code generated since launch.

Of course, in reality the total is likely higher—many days saw multiple submissions, while some quieter periods occurred. But under the “one per day” assumption, today marks around 7,303 MQL4 creations.





7,303 MQL4 creations

Sources
"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

170
A! MarketCap VS RealizedCap-MCRC

This indicator, titled “MarketCap VS RealizedCap-MCRC.mq4”, is a custom technical analysis tool designed for MetaTrader 4 (MT4) that visualizes two conceptual metrics adapted from crypto market theory—Market Capitalization and Realized Capitalization—and maps them onto price action to help identify overbought/oversold conditions and potential trend reversals.

📊 Indicator Purpose
This indicator simulates the Market Cap and Realized Cap values from crypto asset analysis and adapts them into a price-scaled line chart to assess:

Market overvaluation or undervaluation

Trend strength and momentum

Reversal zones using support/resistance lines

🔍 Key Concepts
Term Description
Market Cap Simulated using current price * volatility + momentum effects. Represents speculative value.
Realized Cap Smoothed, volatility-adjusted version of average price. Represents intrinsic or “realized” value.
Overbought/Oversold Levels Horizontal levels based on % distance from Realized Cap and Market Cap values. Used as potential reversal zones.

⚙️ Inputs and Parameters
➤ Scaling & Multipliers
Parameter Description
ScalingFactor Scales the plotted lines to fit price range.
MarketCapMultiplier Weight of market cap relative to price. Higher = more aggressive line.
RealizedCapMultiplier Weight of realized cap relative to smoothed price. Lower = more stable.

➤ Smoothing
Parameter Description
SmoothingPeriod Simple moving average length to smooth the Realized Cap line.

➤ Overbought/Oversold Levels
Parameter Description
UpperLevelPercent % above Realized Cap for general overbought zone.
LowerLevelPercent % below Realized Cap for general oversold zone.
RealizedCapUpperPercent Upper resistance zone above Realized Cap.
RealizedCapLowerPercent Lower support zone below Realized Cap.
MarketCapLowerPercent Deep support below Market Cap.

📈 Indicator Buffers (Lines Displayed)
Buffer # Name Description Color
0 MarketCapBuffer Simulated Market Cap line OrangeRed
1 RealizedCapBuffer Simulated Realized Cap line DimGray
2 UpperLevelBuffer Overbought level (RealizedCap + %) Red
3 LowerLevelBuffer Oversold level (RealizedCap - %) Aqua
4 RealizedCapUpperBuffer Upper resistance zone above Realized Cap Coral
5 RealizedCapLowerBuffer Lower support zone below Realized Cap DarkTurquoise
6 MarketCapLowerBuffer Deep support zone below Market Cap DodgerBlue

🔁 Logic Overview (How It Works)
1. Smoothing
Calculates a moving average of price based on SmoothingPeriod.

2. Price Momentum & Volatility Effects
Uses sine-based oscillation and recent price change to introduce dynamic variability into the Market Cap and Realized Cap values.

Market Cap: More volatile, includes stronger momentum effects.

Realized Cap: Smoother, opposite momentum bias (acts more like a stabilizer).

3. Cap Line Adjustments
Ensures Market Cap is always above Realized Cap.

Prevents lines from going negative or unrealistic (fallback to scaled price).

4. Support/Resistance Zones
Adds multiple horizontal lines based on percentage deviations from the Realized and Market Cap lines:

Upper/Lower levels help visualize market stress zones.

📉 How to Use the Indicator
✔️ Best Used For:
Visualizing market sentiment and imbalance.

Finding potential reversal zones when price approaches/breaks certain buffer lines.

Confirming trend exhaustion if Market Cap diverges strongly from Realized Cap.

🚨 Potential Signals:
Situation Interpretation
Price > MarketCapBuffer + UpperLevel Market may be extremely overbought
Price < RealizedCapBuffer - LowerLevel Potential undervaluation; consider long setups
MarketCap touches MarketCapLowerBuffer Strong support; possible bounce zone
MarketCap crosses below RealizedCap Could suggest weakening bullish momentum

📌 Final Notes
This indicator does not repaint.

It’s conceptually inspired by on-chain crypto indicators, but made to fit the MT4 environment using price-based simulations.

Customization of multipliers and smoothing allows you to adapt its sensitivity to various assets and timeframes.
These users thanked the author JohnL33 for the post (total 4):
sape4543, ROI, Abdi, Jackson Doh
"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.'"😎