Then you will need to use something like flags, when 1 crosses you turn flag a true, so when 2 crosses, both are true, this will take back testing on visual to get right, you also need to set flags false on opposite cross.
Posts made by jstap
-
RE: WHY IS MY EA ONLY TAKING SELL TRADES?posted in Questions & Answers
-
RE: Check Profit and Stop EA a Dayposted in Questions & Answers
The flag option works, as long as you reset daily, you could use check profit (period of time) one above buy/sell, and one above a close block.
-
RE: while loopposted in Questions & Answers
A condition block would act as the if this section, loop and pass in counters would be the do loop.
-
RE: Anything wrong with this projectposted in Questions & Answers
You are not using groups, so at a guess, once 1st is placed all are placed.
-
RE: WHY IS MY EA ONLY TAKING SELL TRADES?posted in Questions & Answers
Your conditions aren't set up correctly, you are expecting 2 crosses on the same candle to happen, not very likely, remove two of your conditions, and test with that.
-
RE: stop loopposted in Questions & Answers
This indicator doesn't have any buffers, you can get info from object on chart, but it will count any the indicator prints, so when using you would have to set bot up to ignore all older arrows: https://fxdreema.com/shared/8A85hOIke
-
RE: find part of stringposted in Questions & Answers
In market properties you have the timeframes, you can use this in any block, or save into a variable, mt4 will do this in minutes. put, pass-comment label then use this market property, watch on back test and you'll see what it does.
-
RE: find part of stringposted in Questions & Answers
Are you just trying to get the current time frame, MT4 or MT5?
-
RE: Check profit dropdown settingsposted in Questions & Answers
enum's are relatively simple, create enum name what you want, put the text in value you want, in brackets using commers {do this, or do this}, put the name of first constant in type of next, call it what you want, put one of the names from your brackets in value, in a condition put name of last constant=0 or 1, this is the number of your comma seperated values in your brackets.
-
RE: Display Panel With a Backgroundposted in Questions & Answers
You can do it like this: https://fxdreema.com/shared/XqWQOVwTd
-
RE: Check profit dropdown settingsposted in Questions & Answers
It tells you in the block, spelling would have to be exact, if you search enum you will see how to create a drop down.

-
RE: how can i trade only the first signal of multiple same arrowsposted in Questions & Answers
Your logic can tell the bot which arrow to use.
-
RE: Lot size based on stored stoploss value?posted in Questions & Answers
The options for this are in the standard blocks (I think), for a start set sl to fractal, save atr to a variable, these are a price fraction, add to your sl using adjust, try and if not working add a shared link.
-
RE: Is there a way to isolate the closing time trade time as a variable?posted in Questions & Answers
TimeDaylightSavings
Returns correction for daylight saving time in seconds, if the switch to summer time has been made. It depends on the time settings of your computer.int TimeDaylightSavings();
Return Value
If switch to winter (standard) time has been made, it returns 0.
Doesn't work on back test though, have never tried it but will possibly help.
-
RE: Is there a way to isolate the closing time trade time as a variable?posted in Questions & Answers
Can't help, I have previously tried to get this, but server time changes with daylight saving time.
-
RE: Which are the buffers here?posted in Questions & Answers
You now have to test to see what works, look in the data window, while using indicator.
-
RE: Fibonacci Expansion Price Levelsposted in Questions & Answers
Meta trader use an array to store the fibo levels, I for one do not understand how to get array levels Is why variables are easier.
-
RE: Highest and lowest Price Between Time Periodposted in Questions & Answers
You don't need the loop and pass block, this will run until it's finished, regardless of the blocks above