Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information
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.