Hello ya'll. Can anyone help correct this part of the code I'm writing for and indicator, please?
input volumeConfirmation = 1.0; // Volume threshold as a multiple of average volume
input stopLossPercent = 1.0; // Stop loss percentage
input takeProfit1Percent = 1.5; // Take profit 1 percentage
input takeProfit2Percent = 3.0; // Take profit 2 percentage
# Higher Time Frame Calculationsdef priceHTF = close(period = higherTimeFrame);
input volumeConfirmation = 1.0; // Volume threshold as a multiple of average volume
input stopLossPercent = 1.0; // Stop loss percentage
input takeProfit1Percent = 1.5; // Take profit 1 percentage
input takeProfit2Percent = 3.0; // Take profit 2 percentage
# Higher Time Frame Calculationsdef priceHTF = close(period = higherTimeFrame);