Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
oh the only thing i want is to call it und get the current trend back.
like "1" for up "2" for down and "3" for side.
thats whats im trying to get done.
cause your code works right.
i know know my main problem is the lack of knowledege about the indicator
so i cant interpret the returnvalues in the right way.
but i cant find some info on for it.
greets homi
homi,
This will need a little modification in LSMA itself, to make it return the direction of the indicator's line ("1" for up "2" for down and "3" for side) with the ordinary the three values of the indicator's lines.
Just wanted to get the end values of the iCustom line clarified in my head.
Line and Shift
So if I have an Indicator like VQ that only has one graphical line and I what to find out, on the previous closed candle, if it signaled up Arrow for a Buy condition or if it signaled a Sell condition by going down Arrow I would need to set up two condition like;
Now if I wanted to add a second indicator so that TWO conditions need to be met at the same time to trigger a trade, it has two graphical lines (Don't know if it matters by how many lines it has, the indicator knows what it's Buy and Sell conditions are, correct?) My code would change to;
Edit: Just did a back test and it seems to be trading like every M30 (Chart TF). I only want it to initiate the trade ONLY at first Signal condition then wait until the next opposite signal condition. Seems like when both indicators agree on a Buy then it trades then when that trade is closed it continues another Buy trade on next candle if conditions are still met. That is not what I want I Only want one trade per Buy/Sell Signal. Thanks
Attached are two EA's one called My First EA that someone modified for me because they thought the conditions were wrong and one I did using a template call YourExpertAdvisor. Are they both correct?
Thank you
Last edited by matrixebiz; 02-02-2008 at 07:18 PM.