[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "user_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sitesplat/bbseo/event/harvester.php on line 14: Undefined array key "username"
2024-05-17T04:47:08+10:00 https://www.forex-station.com/feed/topics 2024-05-17T04:47:08+10:00 2024-05-17T04:47:08+10:00 https://www.forex-station.com/post1295541668.html#p1295541668 <![CDATA[Coding Help • Donchian Breakout channel EA]]>
I try to make the DonchianBreakoutSystem as an EA. But the EA place no trade at all :( i'm pretty new to coding in mql and i do not see my error
Can you guys help ?

Thx a lot :)

Code: Select all

//+------------------------------------------------------------------+//|                                                      MonEA.mq4   |//|                        Copyright 2017, MetaQuotes Software Corp. |//|                                       http://www.metaquotes.net/ |//+------------------------------------------------------------------+#property strictextern double LotSize = 0.1;extern int BreakEvenPips = 200;extern bool TradeLondonSession = true;extern bool TradeUSSession = true;extern bool TradeTokyoSession = false;// Heures définies pour les sessions en GMT+0#define LONDON_OPEN 8#define LONDON_CLOSE 16#define NEW_YORK_OPEN 13#define NEW_YORK_CLOSE 22#define TOKYO_OPEN 0#define TOKYO_CLOSE 9//+------------------------------------------------------------------+//| Expert initialization function                                   |//+------------------------------------------------------------------+int OnInit(){    return(INIT_SUCCEEDED);}//+------------------------------------------------------------------+//| Expert tick function                                             |//+------------------------------------------------------------------+void OnTick(){    if(!IsTradingAllowed())        return;    double upSignal = iCustom(NULL, 0, "DonchianBreakoutSystem_v1.1.2", 5, 30, 0, 10, 0, 0, 1);    double dnSignal = iCustom(NULL, 0, "DonchianBreakoutSystem_v1.1.2", 5, 30, 0, 10, 1, 0, 1);    ManageOrder(OP_BUY, "Buy Order", Ask, BreakEvenPips);    ManageOrder(OP_SELL, "Sell Order", Bid, BreakEvenPips);}//+------------------------------------------------------------------+//| Vérifie si le trading est autorisé selon la session              |//+------------------------------------------------------------------+bool IsTradingAllowed(){    int hour = TimeHour(TimeCurrent());        if((TradeLondonSession && hour >= LONDON_OPEN && hour < LONDON_CLOSE) ||       (TradeUSSession && hour >= NEW_YORK_OPEN && hour < NEW_YORK_CLOSE) ||       (TradeTokyoSession && hour >= TOKYO_OPEN && hour < TOKYO_CLOSE))        return true;    return false;}//+------------------------------------------------------------------+//| Fonction pour gérer les ordres                                   |//+------------------------------------------------------------------+void ManageOrder(int orderType, string orderComment, double price, int pipsToBreakEven){    bool orderFound = false;    for(int i = 0; i < OrdersTotal(); i++)    {        if(OrderSelect(i, SELECT_BY_POS) && OrderSymbol() == Symbol() && OrderMagicNumber() == 0 && OrderType() == orderType)        {            orderFound = true;            double openPrice = OrderOpenPrice();            double currentProfit = NormalizeDouble((price - openPrice) * (orderType == OP_BUY ? 1 : -1) * Point, 2);            // Vérifier si le trade doit être mis en break-even            if(currentProfit >= pipsToBreakEven * Point)            {                double newStopLoss = orderType == OP_BUY ? openPrice + (pipsToBreakEven * Point) : openPrice - (pipsToBreakEven * Point);                if(OrderModify(OrderTicket(), openPrice, newStopLoss, OrderTakeProfit(), 0, clrYellow))                    Print("Break-even stop loss set for order #", OrderTicket());                else                    Print("Error setting break-even: ", GetLastError());            }            break;  // Sortir après la gestion du premier ordre trouvé        }    }    // Si aucun ordre existant n'est modifié, placer un nouvel ordre    if(!orderFound)    {        int ticket = OrderSend(Symbol(), orderType, LotSize, price, 2, 0, 0, orderComment, 0, 0, orderType == OP_BUY ? clrGreen : clrRed);        if(ticket < 0)        {            Print("Order Send failed with error #", GetLastError());        }        else        {            Print("Order successfully placed with ticket #", ticket);        }    }}//+------------------------------------------------------------------+
DonchianBreakoutSystem_v1.1.2 600+ BT.mq4Downloaded 3 times 78.48 KiB

Statistics: Posted by Xxcoincoin — Fri May 17, 2024 4:47 am — Replies 0 — Views 31


]]>
2024-05-16T17:02:30+10:00 2024-05-16T17:02:30+10:00 https://www.forex-station.com/post1295541622.html#p1295541622 <![CDATA[cTrader Forum • cTrader indicator conversion]]> volumeReversal 1_rev.mq4Downloaded 25 times 2.94 KiB

Statistics: Posted by Niveo74 — Thu May 16, 2024 5:02 pm — Replies 0 — Views 71


]]>
2024-05-15T19:25:48+10:00 2024-05-15T19:25:48+10:00 https://www.forex-station.com/post1295541522.html#p1295541522 <![CDATA[Commercial Services & Offers • Interesting Paper]]>
I got a paper i'd like to code but it's over my ability
it uses Markov Models, regression, adaptive EMA, etc

if someone is interested in coding this for me i can pay him/her a little

Jeff

iframe

Statistics: Posted by ionone — Wed May 15, 2024 7:25 pm — Replies 0 — Views 63


]]>
2024-05-15T09:56:28+10:00 2024-05-15T09:56:28+10:00 https://www.forex-station.com/post1295541495.html#p1295541495 <![CDATA[Trader's Lounge • Unable to Log In]]>

This is Opita, had to log in with this account because no matter what I do I can't log in.
My un and pw didn't work, the forgot my password option does not work. There is no way to reach the moderators from outside.

I have a friend that also frequents this forum, and he can't seem to be able to log in either.

Is there some type of bug or problem going on?

Statistics: Posted by newonetheblock — Wed May 15, 2024 9:56 am — Replies 5 — Views 283


]]>
2024-05-14T18:21:28+10:00 2024-05-14T18:21:28+10:00 https://www.forex-station.com/post1295541439.html#p1295541439 <![CDATA[Trader's Lounge • R.I.P Jim Simons (Rennaissance Technologies)]]>
https://edition.cnn.com/2024/05/10/busi ... index.html

Statistics: Posted by ionone — Tue May 14, 2024 6:21 pm — Replies 7 — Views 317


]]>
2024-05-14T18:11:54+10:00 2024-05-14T18:11:54+10:00 https://www.forex-station.com/post1295541437.html#p1295541437 <![CDATA[Coding Help • Paper]]>
I got a paper i'd like to code but it's over my ability

it uses Markov Models, regression, adaptive EMA, etc

if someone is interested in coding this for me I can share the paper for him/her

and eventually even pay him/her a little

Jeff

Statistics: Posted by ionone — Tue May 14, 2024 6:11 pm — Replies 0 — Views 118


]]>
2024-05-14T05:20:18+10:00 2024-05-14T05:20:18+10:00 https://www.forex-station.com/post1295541391.html#p1295541391 <![CDATA[Trader's Lounge • Daily Rage]]> iframe

Statistics: Posted by WOLF — Tue May 14, 2024 5:20 am — Replies 9 — Views 398


]]>
2024-05-14T18:15:49+10:00 2024-05-13T18:17:24+10:00 https://www.forex-station.com/post1295541353.html#p1295541353 <![CDATA[MT4 Indicators • EA-EURNZD-5mTF]]>

Please help us if you think this is a promising EA.


The number of transactions is too small to evaluate yet, but the results to date are good.
- Operating about 6 months
- Number of trades 18
- Won 16 times
- PF 21.85
- Maximum drawdown 2.52

For detailed results of the forward test, please check the posted image.


Parameters that must be set for operation
Trade start time parameter
Detailed setting procedures are described below.


Trade Summary (using the broker I am using)
This is not a trend-following trade.
Trade start time parameter = 0 (set in MT4 server time).
As a time filter for the trade, we will trade for 2 hours, starting 2 hours after the Sydney market open. (Set in winter time. Will not convert to daylight saving time)
The point of this EA is to trade at the daily switchover.
This is because signals are generated during this time period.
However, depending on the broker, a large spread will open up.
You will still close the trade with a profit.


My question.
About the time of the daily switchover/ broker rollover/ initial daily processing time of the system,
I cannot explain the trade start time parameter because I do not know if there is a standard specification, Japanese specification or broker specification.
It may be that the trade specifications are specific to the broker I am using.


Request for your cooperation
Your help in posting the results of the forward test would be greatly appreciated.
- Forward Test Results
- Parameter Settings
- Daily start time on MT4 server
- The time of the Sydney market at that time
- Spread at the time of the trade (if possible)


Future actions (if results continue to be good)
- I would like to set the trade start time parameter automatically.
- Allow automatic lot setting.
- Expose the indicator parameters.
- post1295541429.html#p1295541429

funchi's daughter
e2.PNG

e1.PNG

FNC_EURNZD.ex42024/5/14 16:53 (JST) version 1.02Downloaded 30 times 25.89 KiB

Statistics: Posted by funchi — Mon May 13, 2024 6:17 pm — Replies 5 — Views 364


]]>
2024-05-11T03:25:27+10:00 2024-05-11T03:25:27+10:00 https://www.forex-station.com/post1295541177.html#p1295541177 <![CDATA[Commercial Services & Offers • Seeking Feedback - Daily Forex Digest in 10 Minutes]]> https://www.delling.co/), a website we built to provide a concise daily forex digest.

Catching up on the latest forex news every morning is a crucial routine for traders. However, we found searching multiple top media (Bloomberg, Reuters, DailyFX, etc.) to be repetitive, and sometimes we'd miss important news and end up trading against the trend (frustrating!). We also explored Finimize and Morningbrew, which offer fantastic financial market information, but they lack a forex-specific focus, making it difficult to gauge the entire market in a concise digest.

To address this challenge, we created Delling, a personal forex secretary that curates a daily digest delivered straight to your inbox when you wake up. The digest summarizes 100+ daily forex news articles from 15+ top media like CNBC and FXEmpire. It also includes inter-market (stock, bond, commodity) overviews and market sentiment indexes like VIX and the CNN Fear & Greed Index. Our goal is to ensure all the information forex traders need is in one place, and well-informed about the forex market in just 10 minutes.

Our site is live and free to use (https://www.delling.co/). Our next step is to integrate market sentiment data from X (former Twitter) into the digest for even richer insights! You can find more details about this on our roadmap (https://www.delling.co/roadmap).

We don't have any monetization plans at the moment. We're more focused on ensuring the digest improves your morning forex routine. We'd love to hear your feedback and experiences!

Statistics: Posted by kids2400 — Sat May 11, 2024 3:25 am — Replies 2 — Views 248


]]>
2024-05-11T02:03:13+10:00 2024-05-11T02:03:13+10:00 https://www.forex-station.com/post1295541165.html#p1295541165 <![CDATA[Trading Platform Discussion • EA crashes because ": cannot set timer"]]>
I a trying to use a copier EA, but all the time it crashes. Probably because of set timer.
I don´t know how to fix it.
I never had any problems with that, all my EAs are running perfectly. I am using ICMarkets demo.
The EA company tells me I have to use another broker.

Can you help me to fix this?
Thanks
BoJo199

Statistics: Posted by BoJo199 — Sat May 11, 2024 2:03 am — Replies 0 — Views 84


]]>
2024-05-09T05:33:38+10:00 2024-05-09T05:33:38+10:00 https://www.forex-station.com/post1295541021.html#p1295541021 <![CDATA[Forex Education • After I learn liquidity, I am no longer interested in all indicators]]>

Statistics: Posted by Jedidiah — Thu May 09, 2024 5:33 am — Replies 6 — Views 501


]]>
2024-05-07T08:02:30+10:00 2024-05-07T08:02:30+10:00 https://www.forex-station.com/post1295540892.html#p1295540892 <![CDATA[MT4 Indicators • Adding Alerts to Professional Swing Indicator]]> I am testing out a new strategy i am working on and willing to share once proven.
I have an indicator (attached) that is intrinsic to the strategy. However, it is not coded with alerts.
Usually i can do this myself when there is enough existing information in the .mql4 code but unfortunately in this instance there is not enough information.

Would it be possible for someone to add popup, sound and push alerts to this indicator.

Thanks in advance.
Dean (DAMPro69).ProfessionalSwing.mq4Downloaded 141 times 2.28 KiB

Statistics: Posted by DAMPro69 — Tue May 07, 2024 8:02 am — Replies 2 — Views 491


]]>
2024-05-06T23:14:52+10:00 2024-05-06T23:14:52+10:00 https://www.forex-station.com/post1295540861.html#p1295540861 <![CDATA[Coding Help • WRB indicator (as on MT4 and MT5) for Pinescript (TradingView)]]>
I am not sure if TradingView is also welcome on this forum. If not apologies for posting.

I am working on a pinescript code that will draw WRB and WRBHG boxes.

This issue I am facing so far is to modify the endDate of the box to be set as soon as the price penetrates the box. (either from above or from the bottom)

As far as I know pinescript process data from new to old...

The code below draws for now 6 boxes but can be changes to draw max 500. Unless the4 boxes are cut when the price penetrates it it is kinda useless to draw 500 boxes.

Code: Select all

//@version=5indicator("v.0 WRBHG with Analysis", overlay = true, max_bars_back=5000, max_lines_count=4, max_labels_count=4, max_boxes_count = 4)group0 = 'Period under study'startDate = input.time(title='Start Date', defval=timestamp("2000-01-19 09:00:00 GMT+2"), group=group0)endDate = input.time(title='End Date', defval=timestamp('2099-09-01 09:00:00 GMT+2'), tooltip='Date & time to stop analysis', group=group0)use_custom_period = input.bool(title='use_custom_period', defval=true, group=group0, inline='HLline')var withinSession = truevar WRBHG_upper = 0.0var WRBHG_lower = 0.0var fillColor = color.blackx_extend_count = input.int(title="x extend count", defval = 30)transp  = input.int(title="Transparency", defval = 70)body = math.abs(open-close)wrb = body>body[1] and body>body[2] and body>body[3] ? math.avg(open,close) : nahg = (wrb[1] and (low>high[2] or high<low[2]))? wrb[1] : navar penetratedBox = falsevar boxEndTime = endDateif withinSession    if hg        if close[1] > open[1] and low > high [2]            WRBHG_upper := low            WRBHG_lower := high[2]            fillColor := color.new(color.green, transp)        else if close[1] < open[1] and low > high [2]            WRBHG_upper := low            WRBHG_lower := high[2]            fillColor := color.new(color.green, transp)        else            WRBHG_upper := low[2]            WRBHG_lower := high            fillColor := color.new(color.red, transp)        box.new(time[2], WRBHG_upper, endDate, WRBHG_lower, border_color = na, xloc = xloc.bar_time, bgcolor = fillColor)  s3 = ta.ema(ohlc4, 3)plot(s3, color=color.new(color.black,0))
Thanks for the help. Appriciate it.

Kind regards

Statistics: Posted by dgrl — Mon May 06, 2024 11:14 pm — Replies 1 — Views 252


]]>
2024-05-05T03:32:47+10:00 2024-05-05T03:32:47+10:00 https://www.forex-station.com/post1295540713.html#p1295540713 <![CDATA[MT4 Indicators • Indicator to calculate each bar retracement?]]>
Something like this, but this is manually using renko charts and sync. For example here the chosen bar is bearish but you can see in the renko how the movement happened. (wicks alone dont serve as they dont give information of when it happened)
Sin título.png

Statistics: Posted by ffsss — Sun May 05, 2024 3:32 am — Replies 0 — Views 212


]]>
2024-05-05T00:00:48+10:00 2024-05-05T00:00:48+10:00 https://www.forex-station.com/post1295540707.html#p1295540707 <![CDATA[Site Updates, Suggestions & Issues • Thanks to Mladen, MrTools, Xard777, Kvak, Jimmy, Ogee, Moey_dw, all those that participate in this great endeavour !]]> Statistics: Posted by ionone — Sun May 05, 2024 12:00 am — Replies 2 — Views 342


]]>