This works great, only problem is it leaves the st and tp values on the chart as objects after the trade has closed, is it possible to update the code so it auto removes the objects after the trade has closed?
Thanks a lot
learning and converting mq5..... here's a good article from sergey pavlov on conversion...... migrating from mq4 to mq5......
it took me a hour just to figure out how to code hour in my alarm indicator..... seems appropriate......
will give explanations, reasons and charts as they are...
I am trying to call properties of a Linear Regression channel. I have tried created an indicator that creates a LinearRegression object, and then reads from it, such as below:
Iterates through code:
{
Create OBJ_Regression;
price1 = ObjectGet(name of obj, OBPROP_PRICE1);
price2 =...
Hi everyone I have an indicator that I want to use in my EA. This indicator should not be repainting, but I found some problem when using it in backtesting.
Here's screenshot on real chart,
and here's screenshot from backtesting,
The indicator looks slightly different and if we look at the...
Hello,
I was wondering if anyone has ever tried using algebraic topology to trade weighty or meaningful market levels.
The below strategy is direct application of such a mathematical approach to trading.
The chart that plot price movements is regarded as a two-dimensional space where the...
I have red this on line:
''the indicator ( bottom line ) move constantly during the time the candle is active, the line only stop when the candle close that's why you can't take wicks into account
look at the 1 minute chart see how the last segment of the RSI constantly move with the price...
Is anyone aware of a script or preferably an indicator that changes the time frame of all open charts at the same time when 1 chart is changed, for MT5.
I know you can save a profile for each time frame, but I have a lot of templates and the amount of profiles would be huge.
A while ago, a user on Reddit asked about a MetaTrader script to automatically draw a middle line for a channel chart object. Now, after wishing to have such a script myself a few times, I decided to finally code it both for MT4 and MT5.
The script's source code and the compiled files are...
Learn the Secrets - NAJJAR INVEST
Trading Experts over 18 years within the Forex Trading and Financial Markets - Grow up your Funds with the most Accurate Signals – Money Back Guarantee 100%
Advanced Private Courses
- Technical & Fundamental Analysis
- Portfolio Management
- Top Forex Trading...
Following a period of thorough beta-testing, MetaQuotes Software has released a new version of its MT5 platform on October 26 - Build 1930. The new version focuses on delivering better user experience as well as improving the development tools for MQL5 coders:
Any chart can now be detached from...
Enivid,
First, you are a great MQL coder. I asked you write an addition to your market profile indicator and it was amazing. More importantly, you shared the code with the community. I use this indicator every day I trade.
But I wanted to ask you to write an indicator (actually I think it'd...
Hello can you help me out with the tick volume?
I can't really understand what is the difference between a candle graphic and a tick volume graphic
How can I spot ther price movement when I am using a tick-volume graphic?
I have red that it is the minimum price...
Hi there
I am after an indicator that can sum volume (or rather ticks) between two vertical lines and give a sum value on the screen that changes as you move the lines. Often the volume across a top or a bottom can be significant but difficult/ time consuming to compare/sum in time before a...
Hello everyone,
i am new to fx trading and i trade with demo account and i gain 20-30 pips per trade but i want to make more reliable pips because i put 5 trades minimum perday in gbp/usd,gbp/jpy,usd/cad,eur/usd,usd/jpy but gbp pair always i lost. so anyone give me how to trade safely and what...
Build 910 has become available on many brokers' trading severs today (it was released on November 12 for MetaQuotes demo platforms). It offers some enhancements and bug fixes:
You can now install and download source code of the indicators and EAs from MQL4 code base faster and easier directly...
Calculation P/L by comments
i am looking for any indicator or scripts for Calculation P/L for all orders which have the same comments
If i have this opening orders
Buy EURUSD : comment S1
Sell EURCAD : comment S1
Sell GBPUSD : comment S1
Buy EURUSD : comment S2
Sell EURCAD ...
MetaQuotes has released a new update for MetaTrader 4 platform yesterday. The build 840 improves overall experience using the terminal and also fixes some critical errors of the previous build:
Expanded graphical objects' tooltip to 128 characters maximum size.
Fixed a bug with Channel...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.