PureBytes Links
Trading Reference Links
|
All I can say is thanks heaps for helping me. Despite all the crap back and
forth I do appreciate it and I do owe you a beer :-)
Regards,
Paul
At 11:21 AM 04/02/2004, adleone wrote:
: A couple of things... if you want to have a shot at me ... cool ... I don't
: have a problem with that. But I don't think you were right and I wanted to
: ask the list what questions are acceptable? Because (I believe) you had a
: problem with me asking for help...
You didn't ask for help. All you did was put up statement block and asked
for an exit. Look at your orignal email.
: otherwise why would you have sent the
: original email that was no help to anyone?
How the hell can anyone help you when you didn't specify what you want.
: As for not describing what I wanted to achieve... Look inside the comment
: brackets - that's what I want to achieve.
Right. I know exactly what you want from the statement blocks with no
description of the problem or idea you're working on
: Just to be clear, my stop idea is this:- I am in a long position, So every
: day I look at the chart and find the bar that has the highest close and I
: label that bar1. I then go back 2 bars (but I want this as an input called
: lookback so I can vary it) and find the lowest low. My exit on my long
: position is now at that low.
Now the above statement is better. It is clear and precise. Describes the
problem and what you want to do. Where the fuck was it in your orignal
email???
--
Vars: MP(0), HC(0), LL(0);
{Initialize everything}
Mp=I_Marketposition; {I_Marketposition is for use inside an
indicator/paintbar/showme, just plain 'old Marketposition' in a signal}
LL=H;
HC=L;
{If marketposition =1 describe a long position, -1 is short, 0 is no
position}
If MP=1 then begin
{If close is greater the current highest close, the the highest
close now becomes the close}
If C > HC then begin
HC=C;
{LL is the lowest low of the last 2 bars where the close is
greater the previous highest close}
LL=Lowest(L,2);
end;
plot1(LL,"Lowest L");
end;
: Of course I want someone to code this for me as I have no idea where to
: start!!!
Next time, RTFM.
|