yes but it depends what happens where, if you have 1000's of lines of code the EA will likely run slightly slower, but if only a few of the lines are on tick it may still run quick (on tick happen constantly so doing too much on tick uses a lot of computer remorse's)
Best posts made by jstap
-
RE: Do EAs with a lot of coding execute slower ?posted in Questions & Answers
-
RE: Blocks for "bidding price"posted in Questions & Answers
pink block for each trade - many blocks like modify variable, get the price of the trade/order with a loop. If you need more help on how to get, let me know and I'll give you some help.
-
RE: Where are comments printed now?posted in Questions & Answers
This compiles but does use Print(), not tested so give it a try. I will put everything you need below:

Settings:
LogToConsole(max_win, total);~next~
Global variables, includes:
double total = 0;
double max_win = 0;
int lastLogDay = -1;Custom function:
// Logs values to the Experts tab
void LogToConsole(double max_win, double total)
{
Print("Logging values → Max win: ", DoubleToString(max_win, 2),
", Total: ", DoubleToString(total, 2));
}
-
RE: 2 variables in 1 text outputposted in Questions & Answers
Something like this will do it, just replace words with the relevant ones:

-
RE: How to get the Average Value of the Indicator for nBarsposted in Questions & Answers
Comment blocks can be above or below, in fact any block works above or below, you just need to ensure what is above won't affect the block below. If a comment is below a no trade block, it won't work once a trade is placed, but above it will, it will work before the trade is open, and while it's open. Possibly it's 1 tick behind, but this is unnoticeable.
-
RE: price value of horizontal line into a variableposted in Questions & Answers
use the name - modify variables with line name using object on chart
-
RE: price value of horizontal line into a variableposted in Questions & Answers
when you click on the object does it daw the line? Look in your object list, probably adding a number to the end, so object on chart won't fine it.
-
RE: Compile error occur . Pls help me how to fix.posted in Questions & Answers
This makes sense
why error said "constant" expected -
RE: Ident current timeframe (MT5)posted in Questions & Answers
Created this a long time ago, but this should do it: https://fxdreema.com/shared/LpSPypV5
-
RE: ATR pipsposted in Tutorials by Users
@l-andorrà No problem, this picture shows the missing line for the 4th digit.

-
RE: Buy a EUR pair when Conditions are met from three Pairsposted in General Discussions
@mohamed80 When I get a minute I will go over your questions, for now though (Symbol()==SYMBOL);
(OrderSymbol()==SYMBOL);
both go into custom code, although I haven't tried I think the string in SYMBOL variable is what is used and probably OrderSymbol is what to use for placing an order. -
RE: How to EA draw an indicator on the chart automatic?posted in Questions & Answers
I could be wrong but, any indicators & chart settings I want to use with EA I save as template so I can add in a couple of clicks, there is a block called apply template which would probably do this for you, also this post link text may help.
-
RE: Finding Doji Candlesposted in Tutorials by Users
@supersako If anyone clicks your link and then MQ5 button they will get your exact EA fully working, this will also work for MT4 people just need to change the no position blocks for no trade blocks.
-
RE: DAILY TARGETposted in General Discussions
@edenclean20 Hi, in this link you will see how you can achieve this, the idea can be used for most ways you decide your target. Hope this helps
-
RE: Get the Current Symbol Based On Manual Trades Orderedposted in Questions & Answers
I am not 100% sure but modify stop needs a pink for each trade above and not be in-between purple and buy, normally best to have pink's alone. In the purple block you have symbol, you can set this to any so it will work from all, you also have this in buy block so, would work with any selected, you also have a controlling block called set market for next blocks. If you test with a combination of these I am sure you will be able to achieve what is required. Hope this helps.
-
RE: Finding Doji Candlesposted in Tutorials by Users
@supersako Hope this helps people, have added formula block so if body is =< total, by taking total, dividing by 100, multiplying by doji percent constant. I haven't tried tried your project, just added to to yours, using defined maths is how I prefer to do things.link text
-
RE: How to set a stop loss (x) pips below or above a moving average.posted in General Discussions
@kelrobot You can do it like this, if you want this value in a constant just type + or - and the name of the constant.

-
RE: Getting values of indicator from spesific datesposted in Questions & Answers
Between the picture and link you will see how to get the candle ID from date/time and how to get the RSI value from that ID, you can then use the ID variable to get whatever values you need.
Hope this helps
-
RE: ATR pipsposted in Tutorials by Users
This link has the slightly updated version that works with MT5.
-
RE: Ranking Simultaneous News Eventsposted in General Discussions
Writing by hand is a defonate help, and the only way of truly understanding. You can tell it any errors though and it will rewrite.
