PureBytes Links
Trading Reference Links
|
Off the top of my head, no testing, but it should get you started:
> 1] Looking for some Easy Language code to exit a trade "X points"
> above or below the high or low of my entry bar.
buy("My signal") at wherever stop;
{ then later, }
exitlong from entry("My signal") at$ High + X limit;
The "at$" is the critical thing here. It anchors the "High"
reference to your bar of entry for "My signal".
> 2] Looking for EL code to trail my stop "X points" above or below
> the high or low of "Y bars ago".
exitlong at Low[Y] - X stop;
Gary
|