i'm having hard time by trying to change ela signals reserved words to a form which can be used inside a function. For example how to change barssinceentry or a beginprice to a form that can be used in a function. The mission is to plot the signal with indicator by using a function form of signal. For example, if long then indicator is 1.. Thanks in advance!
Last edited by jjsshh; July 30th, 2014 at 10:24 AM.
Reason: Stupid post
there is a thread for that. I s something like "Want your easylanguage...for free". You should try there instead of making a new thred that is personal to just you. LOTS of VERY keen advice available in that thread.
The following 2 users say Thank You to wldman for this post:
what are you trying to accomplish with that function? Your code uses several reserved words that are only available in signals. On top of that orders can't be send from functions. For any one to be able to help you need to elaborate more on what the result should be in my opinion.
The following user says Thank You to ABCTG for this post:
what exactly are you trying to plot? It's probably perfectly clear for you what you want, but a second person might
have a hard time understanding what you want when you only provide limited information.
ABCTG i'm trying to plot the signal with indicator which uses function. For example if signal is long then the indicator is 1 and when out of the markets indicator is 0. And yes, the problem is with those reserved words.
If you could post the code again I will see if I can help you a bit (wrap code tags around it, so it's better to distinguish from the text).
In general you need a variable that keeps track of the changes in the marketposition. You will also need variables keeping tracks of your stops and prices where you'd enter. You can also post the code you already have done so far and I'll try to steer you into the right direction.