Escolar Documentos
Profissional Documentos
Cultura Documentos
Código Profit - Pivot Points Adjustment VWAP
Código Profit - Pivot Points Adjustment VWAP
// Parameters
// Pivot Points
//// Pivot(x, y)|n|
//// x
////// True = (High + Low + Close) / 3
////// False = (Open + High + Low + Close) / 4
//// y
////// True = 3 lines
////// False = 2 lines
//// n (3 lines)
////// |0| = P
////// |1| = R3
////// |2| = S3
////// |3| = R2
////// |4| = S2
////// |5| = R1
////// |6| = S1
// PriorCote(n)
//// 0 = Fechamento do dia anterior
//// 1 = Abertura do dia anterior
//// 2 = Máxima do dia anterior
//// 3 = Mínima do dia anterior
//// 4 = Ajuste