I don't mean to sound dumb, but, I don't actually know how to use variables. I understand the different blocks well enough to do most things I want to do, but, variables and constants I'm not knowledgeable with.
Posts made by iagnew
-
RE: Exit Conditionsposted in Questions & Answers
-
RE: Exit Conditionsposted in Questions & Answers
What i'm trying to get at is a condition needing to be true for x amount of continual minutes. For example moving average 10 less than moving average 20 for 5 solid minutes. If for any reason during those five minutes the moving average 10 is greater than the moving average 20 the close all trades block is not excuted and the 5 minute timer is reset to zero.
-
RE: Exit Conditionsposted in Questions & Answers
I am working on exit conditions for ea's and I want to exit based on certain indicators behavior. When my indicator moves in the opposite direction of my current trade, I want to monitor its status for a few seconds, minutes, ect. before the ea closes the trade out. I also would like to be able to not close the trade should the indicator move back inline with my trade. I tried to make an example of what i want to so here.
http://fxdreema.com/shared/yQGTBlf9c
Let me know if i am on the right track,
Thanks,
PS. If i am on the right track I need to know what to attach to the yellow output of the condition block to prevent the closing of the trade.
-
RE: Trendline Indicatorposted in Questions & Answers
I am trying to figure out how to incorporate a trendline indicator into fxdreema. It operates by drawing a trendline and then changing its colour. Is this meant to only be used for manual trading as a visual only indicator? Is it possible to set a condition, when this colour do this that ect.?
Thanks,
-
RE: Determining Trendsposted in Questions & Answers
Angles may not be the best way to do this. Instead, would it be possible to take candle 1 close minus candle 2 close and divide the result by candle 1 to get a percentage? Would this be able to be used in conditions (EMA 21 greater than 5% between last two closed candles?
Thank you,
-
RE: Determining Trendsposted in Questions & Answers
Thank you, hilavoku. That's along the lines of what I would like to do, could you show me an example of how this would work?
Thanks again,
-
RE: Determining Trendsposted in Questions & Answers
What would be the easiest way say when a moving average is moving up or down? Like moving average period 21, candle 0 above candle 1, candle 1 above candle 2. etc. Is there an easier way to write this? Maybe like a angle or something? If MA 21 above angle of 5 degrees or something along those lines?
Thanks,
-
RE: Not trading on fridaysposted in Questions & Answers
Is it possible to trade on fridays until a set number of hours or minutes until the market closes? Also can you close all open trades before the market closes so as not to leave them open while the market is closed?
-
RE: Check last closed trade status.posted in Questions & Answers
Are you allowed to hedge where you're from? Do you look down apon people trying to build hedging strategies?
-
RE: Check last closed trade status.posted in Questions & Answers
Dude just wanted to try something out I found on the net that seemed interesting, don't have to be a dick about it.
-
RE: Check last closed trade status.posted in Questions & Answers
Basic example of what I want to try.
http://fxdreema.com/shared/mk0Uv82mb
Problem is pending orders don't open at same price as the open buy/sell orders.
Thank you so much again,
Ian -
RE: Check last closed trade status.posted in Questions & Answers
Thanks again for taking the time to help me again. I was wanted to have a sell trade to open at the same time (before the buy closes at a stop loss) if my buy goes down by 20 pips. Then the martingale system if the sell trade doesnt hit it's take profit and instead the market goes back up and i close out my still running, original, buy trade.
I attached a PDF file I found for this strategy.
Thank you again,
......
NLS.pdf -
RE: Check last closed trade status.posted in Questions & Answers
I found out how to make an EA that can be seen here.
I want to make a hedging EA that will open a long trade at .1 lots with a 20 take profit and a 40 stop loss and a short trade at the same take profit and stop loss if the market moves 20 pips against me. Am I on the right track here?
http://fxdreema.com/shared/AKMEwJM7b
Also, how could I keep tripling my lot size until i hit a take profit trade?
Thanks,
-
RE: Check last closed trade status.posted in Questions & Answers
How do I create an EA and upload it here for people so look at and make suggestions?
-
RE: Check last closed trade status.posted in Questions & Answers
Is there a way to check my last closed trade either at S/L or T/P and open another trade based on those results?
For example a buy order that closed at a stop loss, open a sell order, or vice versa. -
RE: Not trading on fridaysposted in Questions & Answers
How do I tell my EA to not make any trades on the last 24 hours the market is open for the week.
-
RE: How to check entry conditions multiple timesposted in Questions & Answers
Ok, I understand it goes through it's cycle every tick, but, is there a way to loop part of the ea (conditions for entry/exit) more than once before it makes a trade. I understand running every tick indicators may cross for a few seconds due to volatility, that is why i would like to run the conditions a few times before it places a trade.
-
RE: How to check entry conditions multiple timesposted in Questions & Answers
Hello, I am very new to forex trading and creating EAs. I wanted to know how or if it's possible to check for entry and exit conditions multiple times before opening/closing a position. For example, if I wanted to enter when a Moving Average 7 is above a Moving Average 13 and I wanted my EA to check for those conditions every 15 seconds for 1 minute how would I do that? I would want something along the lines of this passing "X" times before opening a position, and, reseting if it fails and timed check. Any assistance will be very much appreciated.
Thank you