Here you can search through the pages of this Namespace, their attachments and the files uploaded to the system.
Note: the results will only display the items you have permissions to read.
[...] stop visibility
for(int bar = Bars.FirstActualBar + 10; bar -1 ; p )
{
Position pos = ActivePositions p ;
// Request Chandelier stop value using Period: 14, Coefficient: 3
chandelierStop = pos.ChandelierStop( Bars, bar, 14, 3 ); if( pos.PositionType == PositionType.Long )
SellAtTrailingStop( bar + 1, pos, chandelierStop, "Chandelier LX");
else
if( pos.PositionType == PositionType.Short )
CoverAtTrailingStop( [...]
[...] rule goes here: */
if( globalEquity bar > globalEquity bar-100 )
{
Position pos = u.entry( p, bar, p.EntrySignal, p.BasisPrice );
if( pos != null )
{
pos.Priority = p.Priority;
pos.EntrySignal = p.EntrySignal; //pos.Equals(p);
}
}
#endregion User-configurable: Interacting with Portfolio Equity
/* Alternative:
u.entry( [...]
[...] );
for(int bar = 24; bar for (int p = ActivePositions.Count - 1; p > -1; p-- )
{
Position pos = ActivePositions p ;
ep = pos.EntryPrice;
stop = ( pos.PositionType == PositionType.Long ) ? ep*0.8 : ep*1.2;
profit [...]
[...] logic
int loserCount = 0;
for( int p = ActivePositions.Count - 1; p >= 0; p-- )
{
Position pos = ActivePositions p ;
if( bar >= pos.EntryBar )
{
string sym = pos.Bars.Symbol;
SetContext( sym, true );
SMA sma = SMA.Series( [...]
[...] bar = start; bar bar >= 5 && sellVote bar == 0;
bool buyTrigger = sellVote bar > 0; for (int pos = ActivePositions.Count - 1; pos [...]
[...] Color.Silver, LineStyle.Solid, 2);
for (int bar = bbPer; bar = timedExit)
SellAtMarket(bar + 1, Pos, "Time-based");
else if (Close bar > Pos.EntryPrice)
SellAtMarket(bar [...]
RVI — 3.9%
[...] Color.DarkBlue, LineStyle.Solid, 1 );
for(int bar = rvi.FirstValidValue; bar = 0; p--)
{
Position pos = ActivePositions p ;
if( CrossOver( bar, rvi, 0.35 ) )
SellAtMarket( bar+1, pos [...]
[...] );
PlotSeries( PricePane, MovAvg, Color.Gray, WealthLab.LineStyle.Solid, 1 );
for(int bar = 100; bar = 0; pos--)
{
Position p = ActivePositions pos [...]
[...] );
RestoreContext();
}
}
}
else
{
if( stress bar lst, string symbol )
{
return lst.FindLastIndex( delegate(Position pos) { return pos.Symbol.Equals(symbol, [...]
[...] strategy that translates to:
for(int p = ActivePositions.Count - 1; p >= 0; p--)
{
Position pos = ActivePositions p ;
// exit on the last bar of the day
if( Bars.IsLastBarOfDay(bar) )
ExitAtClose( bar, pos, [...]
[...] drawdown Losing streaks Market's Money No Profit/Loss Sharing Percent volatility Percent Winners Pos.Sizing (% Equity) Portfolio Balancing Portfolio [...]
[...] lastEntryPrice = 0;
for(int bar = maSlow.FirstValidValue; bar -1; p-- )
{
Position pos = ActivePositions p ;
lastEntryPrice [...]
[...] H:mm:ss tt . Here is a fragment illustrating the file format: Trade-#,Instrument,Account,Strategy,Market pos.,Quantity,Entry price,Exit price,Entry time,Exit [...]