In , pyramiding refers to adding to an existing position (scaling in) while a trade is still active, rather than closing it and opening a new one.
// Combine signals Buy = Buy1 OR Buy2;
if (Cond1[i]) SetPositionSize(33, spcPercentOfEquity); if (Cond2[i]) SetPositionSize(33, spcPercentOfEquity); if (Cond3[i]) SetPositionSize(34, spcPercentOfEquity);
// Position sizing per level for (i = 0; i < BarCount; i++)