Page 22 of 30

Re: Something interesting from Chatgpt/AI please post here

Posted: Wed Jul 23, 2025 1:16 pm
by TECHHDATE07
TransparentTrader wrote: Wed Jul 23, 2025 7:52 am So far I'm running this on my charts and it looks to be 100% non-repaint exactly as you said.

Is there any chance you would be willing to release the MQ4 file? I'd be interested to see how the SOT 6/10/14 indicators are combined to show a single blue or red dot.

I'm also open to paying for the source code to be released, similar to what was done recently with ionone's peek+ indicator.
TransparentTrader, it does not repaint on a live chart, but upon closing and reopening the MT4 terminal, the signals may appear perfect due to the global logic state being set to SignalLabeled. Run it in the Strategy Tester, and after it stops, reapply the indicator to witness the magic.

Re: Something interesting from Chatgpt/AI please post here

Posted: Wed Jul 23, 2025 2:58 pm
by TransparentTrader
TECHHDATE07 wrote: Wed Jul 23, 2025 1:16 pm TransparentTrader, it does not repaint on a live chart, but upon closing and reopening the MT4 terminal, the signals may appear perfect due to the global logic state being set to SignalLabeled. Run it in the Strategy Tester, and after it stops, reapply the indicator to witness the magic.
I was going to save this until the morning as it's late where I am.

If you run the indicator on a chart and let the signals generate in real-time without any modifications or restarts, the signals are not so great.

If you remove the indicator and then re-apply it from scratch, the dots appear in a completely different place to give the illusion of near-perfect signals. You don't even have to close and re-open the MT4 terminal for this to happen.

When I wake up, I'll post pictures to illustrate what I mean. Maybe "repainting" is not the correct technical term to use, but given this obvious glitch I would very much hesitate to call it a 100% non-repainting indicator alongside the other indicators in this forum.

Re: Something interesting from Chatgpt/AI please post here

Posted: Wed Jul 23, 2025 3:16 pm
by JohnL33
When I first started this thread, it was mainly for myself — a non-coder or new coder — and for others like me who wanted to share their creations without relying too much on experienced coders for small edits or fixes.

Over time, I noticed that only a few people actively supported this idea. Most just download and move on — not everyone, of course, but many. Because of that, I’ve decided to simply use this space to share whatever I create.

As for sharing source code: sometimes I will, sometimes I won’t. But I do usually leave some hints for those who want to figure things out or learn more on their own.

Also, to protect the work from being resold or misused, I’ve added some links in the indicators to direct back to this thread — just as a safeguard.

Big thanks to everyone who’s taken the time to view, download, test, or even share their own creations here — really appreciate the support!


Edit by chatgpt cos my English are local made.😆😆😆

Re: Something interesting from Chatgpt/AI please post here

Posted: Wed Jul 23, 2025 10:52 pm
by TransparentTrader
I spent the last few hours yesterday having two US30 M1 charts side-by-side. I noticed that for the first few hours of post-close market activity, a buy signal didn't generate a profit if you exit at the red dot as I observed 100% of the time in past price action.

I initially thought it was just a fluke, and I'd have to settle for a 99% win rate instead of 100%.

Here is what's happening:

If you leave the indicator to run as it is without removal or modification of settings, the signals stay where they are and they don't repaint:
BUT when I opened up a new yet identical chart and then added the indicator with identical settings, you get completely different signals (alternatively you remove and re-add the indicator on your existing chart):
You'll also notice in the first picture that some lines aren't drawn. That's because those dots appeared afterward.

Side note: The big 100-point spike up last night was likely due to this announcement around 7:10pm EST -> https://www.forexfactory.com/news/13527 ... japan-will

I've very rarely seen this form of "repainting" but it's by no means impossible given what we've seen with MT4 indicators in the past.

Weirdly enough, this is what I see for the 5-point-per-box Renko chart on US30 when I allow the indicator to run uninterrupted:
And then when I remove and re-add the indicator like I did on the M1 candlestick chart:
In the best possible scenario, maybe this indicator works best on Renko charts only. It still appears to give solid entries in this specific context.

Re: Something interesting from Chatgpt/AI please post here

Posted: Thu Jul 24, 2025 12:00 am
by PTR777
Should be because it uses a lookback period - then cherry picks upon reload but non repaint live

Re: Something interesting from Chatgpt/AI please post here

Posted: Thu Jul 24, 2025 1:45 am
by JohnL33
JohnL33 wrote: Sun Sep 22, 2024 11:43 am Something interesting from Chatgpt/AI please post here

Hi Trader
Share your creation here...any edit ..mod ..without self proclaim.
Hope you can find something here or maybe some idea how to do simple thing without complicated code.

Share Your Idea and make the code better.

"One man's trash is another man's treasure"

Re: Something interesting from Chatgpt/AI please post here

Posted: Thu Jul 24, 2025 2:39 am
by TransparentTrader
JohnL33 wrote: Sat Jul 19, 2025 7:00 pm The indicator is 100% NON-REPAINTING on closed candles.

Let me 1000% sure ..non repaint..i will share here.

May All Profit

Yes, that is 100% correct.
Once a candle closes and a dot (arrow) is printed on that candle, it will never disappear or move. It is permanently fixed on that candle.
Here is the simple breakdown of what happens:
The Live Candle (Bar 0): The candle is still forming. Its price is changing every second. The indicator is constantly re-calculating with the new price data. A dot might show up and then go away as the price moves. This is normal.
The Candle Closes: The moment the candle finishes, its final Open, High, Low, and Close prices are recorded and become permanent history.
The Final Calculation: Your indicator runs its calculation one last time on that now-closed candle using those permanent prices.
The Permanent Dot: If the final calculation results in a signal, the dot is placed on the chart. Because the historical data for that candle will never change, the dot will also never change.
You can rely on this rule:
Situation Dot's Behavior
The current candle is still forming and has a dot. NOT CONFIRMED. The dot might disappear before the candle closes.
The candle has finished and closed, and it has a dot. 100% CONFIRMED. The dot is permanent and will not be removed or moved.

Analysis of the Indicator's Logic
The name "SpeedoMETER" is fitting because the indicator's core logic is based on a concept sometimes referred to as "Speed of Tape" or "Speed of the Market".
It calculates a value SOT using this formula:
SOT = (Price Change / Volume) * ScalingFactor
This measures how "efficiently" the price is moving relative to the trading volume.
A high SOT value suggests a significant price move occurred with relatively low volume (an aggressive, fast move).
A low SOT value suggests a small price move occurred despite high volume (a struggle or consolidation).
The indicator generates a signal when the current SOT is significantly higher than its recent average, indicating a sudden burst of momentum.

IDEA
from fastbreyk .last online Apr 29, 2015
While I appreciate your reminder of what you wrote in the first post, it doesn't change the fact that your proclaimed "100% NONREPAINT" indicator no longer turns out to be the case.

And since you shared the ex4 file instead of the mq4 file, that leaves us to reverse engineer how to fix the problems discovered by myself, TECHHDATE07 and PTR777.

The concept looks promising but is ultimately untrade-able unless these glitches are resolved.

Re: Something interesting from Chatgpt/AI please post here

Posted: Thu Jul 24, 2025 2:45 am
by Eis
There isnt enough data in 5 candles to tell if it is more likely to stop then the last 10 candles
So its only a dream
only found in institutional volume and only banks have full access to that (Rockstar Indicator ⭐️)
Divergences best bet for reversals
Or the Peek


Re: Something interesting from Chatgpt/AI please post here

Posted: Thu Jul 24, 2025 3:02 am
by JohnL33
A! The Unpaid Intern


Of course. Based on your handwritten notes and the description, you are looking for a semi-automated Expert Advisor (EA) for MetaTrader. This EA acts as a trade and risk manager, implementing a grid-based averaging strategy (often called a "layering" or "averaging down" strategy) that is initiated by a manual trade.
The goal is to manage a losing trade by opening subsequent trades in the same direction at set intervals, with the aim of closing the entire basket of trades in profit when the price retraces slightly.
Here is a detailed breakdown of the logic, the required inputs, and a conceptual code structure, followed by a critical risk warning.
EA Logic Breakdown
This EA will not open the first trade. It will monitor the account and "take over" management once a trader opens a manual position.
1. Initial State: Monitoring
The EA is idle, waiting for a manual trade to be opened on the chart it's attached to.
It identifies a manual trade by checking for positions that do not have its unique MagicNumber.
2. Trigger: Manual Trade Detected
When a trader opens a manual BUY or SELL trade, the EA identifies it.
The EA immediately assigns its MagicNumber to this trade (or simply starts tracking it by its ticket number) and applies the initial TakeProfitPips if one is set.
3. Negative Float Condition (The Grid Step)
The EA continuously monitors the floating profit/loss of the position(s) it is managing.
For a BUY trade: If the current price drops below the entry price of the most recent trade by the amount specified in GridStepPips, the layering condition is met.
For a SELL trade: If the current price rises above the entry price of the most recent trade by the amount specified in GridStepPips, the layering condition is met.
4. Layering Action: Open New Trade
When the condition in step 3 is met, the EA will:
a. Check Margin: It verifies that there is enough free margin to open a new trade. Your request to "use all margin" means it will continue opening trades as long as it is technically possible.
b. Open New Trade: It opens a new trade in the same direction (BUY or SELL) with the specified LotSize. This new trade is assigned the EA's MagicNumber.
c. Recalculate and Modify TP: The EA calculates the new average entry price for all open trades in the basket (all buys or all sells). It then modifies the Take Profit (TP) level on all open trades in the basket to a single, unified price. This TP is calculated from the average entry price plus the TakeProfitTargetPips or based on the TakeProfitTargetCurrency.
5. Repeat
The EA repeats steps 3 and 4, adding a new layer each time the price moves another GridStepPips against the position, continuing until either the Take Profit is hit or a margin call occurs.
6. Take Profit Condition
The EA monitors the total floating profit of the entire basket of trades.
If the total profit reaches the target (TakeProfitTargetPips from the average price or TakeProfitTargetCurrency in dollars), the EA will close all trades in the basket simultaneously.
Required EA Inputs (Parameters)
To make this flexible, the EA should have the following user-configurable settings:
LotSize: The fixed lot size for all automatically opened trades. (e.g., 0.01).
GridStepPips: The number of pips in negative float that triggers a new layer. (e.g., 10 pips).
TakeProfitTargetPips: The final take profit for the entire basket, measured in pips from the average entry price. (e.g., 10 pips).
TakeProfitTargetCurrency: An alternative TP, in your account's currency (e.g., $5.00). The EA will close the basket when the total profit exceeds this amount.


UseCurrencyTP: A true/false switch to choose between TakeProfitTargetPips and TakeProfitTargetCurrency.
MagicNumber: A unique number so the EA only manages its own trades and doesn't interfere with other EAs.
CRITICAL RISK WARNING: "Full Margin" Strategy
Your notes mention "F Margin" (likely Free Margin) and "MCALL" (Margin Call), and your request is to "layer non stop" and "use all margin".
This is an extremely high-risk strategy that can lead to a 100% loss of your account balance.
How it works: This strategy relies on the market eventually retracing. In a strongly trending market (e.g., after major news or a market shift), the price can move in one direction for hundreds of pips without a significant pullback.
The Danger: Your EA will continue opening new trades, increasing your exposure and your required margin with each new layer. Eventually, your Free Margin will run out. When this happens, your broker will issue a Margin Call, and your largest losing position(s) will be forcibly closed to free up margin. This often leads to a cascade of closures that wipes out your entire account.
Recommendation: To make this strategy safer, you MUST add a safety-net parameter:
MaxLayers: An input that defines the maximum number of trades the EA is allowed to open. For example, setting MaxLayers = 10 would prevent the EA from blowing up your account in a runaway trend.
Without a MaxLayers limit, it is not a question of if this strategy will fail, but when. Please be extremely careful and test this extensively on a demo account before considering live use.

Re: Something interesting from Chatgpt/AI please post here

Posted: Thu Jul 24, 2025 5:02 am
by packwarrior
here is something interesting, not yet for share.

Image