PureBytes Links
Trading Reference Links
|
First i would not take straight points but percentage of what ever you wanna
trade. There is a difference between the S&P and Microsoft.
Second, then you dont need the "points" filler anymore....
If C[1] > C[2] then
buy {today} at H[1] {yesterday} + (C[1]/100) stop;
Of course it will not execute on the H[0] bar, because H[0] + (C[1]/100) is
always equal to
H[0], if it ever gets there.
Volker Knapp
Wealth-Lab Inc.
http://www.wealth-lab.com
http://www.wealth-lab.de
++-----Ursprüngliche Nachricht-----
++Von: Frank Richardson [mailto:frankr@xxxxxxxxxxxxxxxx]
++Gesendet: Mittwoch, 12. Juni 2002 03:54
++An: omega-list@xxxxxxxxxx
++Betreff: Unidentified subject!
++
++
++O-list:
++
++Well, M. Simms was right while I and a lot of other people
++wrong. You CAN create a system in Easy Language that issues a
++signal intrabar without waiting for the close. I know, I
++finally got it to work on the chart.
++
++However one problem. There is still some bug in my code below
++such that the entry is made on the next bar at the price as the
++high of the original bar (for buys) and
++entry made on next bar at the same price as the low of the
++original bar (for sells). In other words, the code does not
++respect my desire for the entry to be made X points above the
++high of the original bar and Z points below the low of the original bar:
++
++Inputs: etc.,etc.,X(2),Z(2);
++
++. . . then buy H[0] +X points stop;
++
++
++. . . then sell L[0] -Z points stop;
++
++Anybody got any advice ?
++
++Appreciate your efforts,
++
++Frank
++
|