3 consecutive losses set a flag to false, once per bar (daily) set the flag to true, check this above your buy/sell trees.
Posts made by jstap
-
RE: 3 consecutive lossesposted in Questions & Answers
-
RE: When we process the EA's we make, do they immediately process according to the last direction?posted in Questions & Answers
Need more information, an EA will do whatever you have instructed it to do
-
RE: Create a horizontal line after opening the tradeposted in Questions & Answers
Are you sure you want vertical, and not horizontal, vertical is time, and horizontal is price. Make a start and add the project link here.
-
RE: Forum updateposted in Questions & Answers
@martymoon120 I don't think so although there is a minimum amount of caricatures, you managed to create this?
-
RE: EA with a sweep of a inside barposted in Questions & Answers
This should give you a good idea of how to get this working: https://fxdreema.com/shared/KHLo5rGBd
-
RE: ADD CUSTOM MT5 INDICATORposted in Questions & Answers
Half of these errors come from more than the indicator?
-
RE: Candlestick Patternposted in Questions & Answers
You can find what you need in here: https://fxdreema.com/forum/topic/4321/tutorial-08-candle-formations
-
RE: EA with a sweep of a inside barposted in Questions & Answers
That tutorial can definitely help, Miro has lots of very good help on here, bear in mind though this uses candle ID's, so every new candle, it goes out of sink by one.
-
RE: ADD CUSTOM MT5 INDICATORposted in Questions & Answers
wave is probably wav, boolean is bool, change these and see what happens (I would recreate from scratch, sometimes wrong spellings stay in the memory).
-
RE: ADD CUSTOM MT5 INDICATORposted in Questions & Answers
MT5 is the same, try and take pictures of what is happening, past here and we'll see what is happening.
-
RE: ADD CUSTOM MT5 INDICATORposted in Questions & Answers
If you search indicators you will find the info needed, but basically add the indicator on FX (MQ is easier but you can use EX), get the buffer value and test, using blocks on the on tick tab.
-
RE: EA with a sweep of a inside barposted in Questions & Answers
@l-andorrà is very helpful and has been helping here for years, he has things to do sometimes so he can take a little time to respond. I would split this into smaller test projects. For this get your start candle time (where the inside bar happened), and draw a horizontal line to the current time at the highest or lowest price using market properties, (time now - period() is candle id 1 time). you can see from this line if a sweep has happened, then work out what to do next.
this https://fxdreema.com/shared/LA9q9It6 will show how to get ID 1 time to use. -
RE: Quicker way to edit and previewposted in Questions & Answers
ctrl x in your download folder, ctrl v in your MT4/MT5 folder, this will move the file to where you want it.
-
RE: Open trade on 100 pips gapposted in Questions & Answers
or adjust, the value in a condition block, (value) + or - x.xx pips, you can use a constant for x.xx
-
RE: Help needed for simple Stochastic EAposted in Questions & Answers
A good way to test is to run only 1 condition (per tree) at a time, and draw lines on the value, so you can visually check when something should work.