Thanks that has helped clear things up.
Posts made by Goatan
-
RE: Trouble with custom indicator questioned changed as I am dealing objects (I think)posted in Questions & Answers
-
Trouble with custom indicator questioned changed as I am dealing objects (I think)posted in Questions & Answers
Hi,
Change of question as I think I am dealing with objects.
When I attach the ea that is looking for certain object condition of an indicator I also need the indicator attached to the chart? Is this testable in mt5 or do jsut need to make an indicator version i.e arrows instead of buying and attach it to a live chart and see what happnes?
-
Infinite sleep loop when tryingto test more than one symbol.posted in Questions & Answers
I am tryign to to test an ea on more than one symbol. I have copied the logic and changed the specific symbol and it runs when there is onyl one symbol i get an infinte sleep loop. Any ideas on why.
-
RE: using swap rate as aconditionposted in Questions & Answers
@roar Thank you, that was exactly what i needed and has helped me understand using the variable a little more. Thank you thotheothers that helped also.
-
RE: using swap rate as aconditionposted in Questions & Answers
I havefound a script that i can potentially use with some modification -the script simply outputs the swap value for long and short and colours the object green if its positive and red if negative. - the problem is it is a script i dont think i can import it as an indicator. Is there any way of converting this script.
-
RE: using swap rate as aconditionposted in Questions & Answers
Thanks but i think that is for the swap on an open trade. I need to now to the swap rate before the trade is opened.
-
using swap rate as aconditionposted in Questions & Answers
Does anyone know how to use swap rate as a condition to open a trade i.e open trade if swap rate is positive and ither condition are meet. I have founbd this thread https://fxdreema.com/forum/topic/7233/find-swap-rates-before-order-opened which has some custoe code that might well no what i want but i don't actually know how to use it.
-
RE: Time as a variableposted in Questions & Answers
@roar said in Time as a variable:
@goatan
Working with minutes and hours is really frustrating, I have found it better to count the bars:

@l-andorrĂ said in Time as a variable:
I agree. Counting bars on the appropriate chart is much easier than catching a 'standard' time variable.
Thank you both this gives me something to look into and i have never noticed the modify variable block before.
-
Time as a variableposted in Questions & Answers
Hi i am looking to use time as a variable so that when the ea first loads it places the current time in a variable. Then a bucket of closed postions would use the variable as its start time. Once a certain amount of profit is hit on closed and current postions then all trades are closed and a block is run that will update the time variable. I'm not sure if this is actually possible. using the buckets ok but controlling what tiem period the one looking at closed postions is proving impossible for me.
-
Closing all postions with a profit and then calculating newposted in Questions & Answers
What I am looking to do is have an EA that checks all closed an open profit. Once it has hit a certain level it closes all positions then starts calculating the open or closed profit from the time it closed all positions. I am sure I did this previously with chart objects, buckets and then redrawing the object. But cannot remember at all how I did it.
-
RE: 'sign' - declaration without type error when copmilingposted in Bug Reports
i get an 'sign' - declaration without type when compiling.
-
RE: Fixed minimum and maximum on Stochasticposted in Questions & Answers
This screen shows the end of a test I heave run you can see the stochastic doesn;t have a fixed minimum or maximum ticked. The minimum is 8.47 and max is 92.71. When using stochistics manually i usea fixed mnimum of 0 and max of 100. My strategy works quite well when done manual but fails horribly used on an ea.
http://i1126.photobucket.com/albums/l601/goatan1/fixedminimummax_zpse1088f61.png
-
RE: Fixed minimum and maximum on Stochasticposted in Questions & Answers
THanks for the reply i will do screen shot of my problem tomorrow
-
RE: Fixed minimum and maximum on Stochasticposted in Questions & Answers
For the stochastic indicator is it possible to have fixed maximum and minimum like in MT4?
-
RE: status stuck on startingposted in Questions & Answers
It seems putting a pass block at the top gets it to work.
-
RE: status stuck on startingposted in Questions & Answers
Definitely enabled. i have another ea built on fx dreema on the same account working happily.
I have included a shared link in case that can help http://fxdreema.com/shared/8zK3ziECd
-
RE: status stuck on startingposted in Questions & Answers
I recently created a new ea that works in back testing but when i try and use i live the status remains as starting and has been for the last 24 hours. Does anyone have any ideas why it might be?
-
RE: Custom inidcatorposted in Questions & Answers
I'm having problem using a custom indicator. It provides three signals buy sell exit. I want to use this indicator so that if it indicates buy then a buy order is made if it indicates sell or exit then the buy order is closed, and vice verse. but I'm really struggling to get anything to work.
-
RE: Unable to export .ex4 or.mq4posted in Bug Reports
I'm currently unable to expert a strategy all that happens is it say building file.... then nothing. Wotked a week ago and i have tried changing were it is downloaded to.