Is it possible to change a value within an indicator on my chart
In the indicator is a variable lnvalue what i would like to do is change this value if a specific condition is met within my ea
ie if V>V1 Invalue = "";
the principle is that a trade is triggered if price crosses a line drawn by the indicator- the trigger i use is the description within the object string value lnvalue ie lets say the object description is short but i do not wish this to be recognised if the volume is increasing then by changing this value to "" the trade will not be triggered if V<V1 ie volume decreasing as price approches line then Invalue = short and a short trade triggered if price crosses line - logiv being that if volume is decreasing then line will more likley work as resistance
hope someone can help
In the indicator is a variable lnvalue what i would like to do is change this value if a specific condition is met within my ea
ie if V>V1 Invalue = "";
the principle is that a trade is triggered if price crosses a line drawn by the indicator- the trigger i use is the description within the object string value lnvalue ie lets say the object description is short but i do not wish this to be recognised if the volume is increasing then by changing this value to "" the trade will not be triggered if V<V1 ie volume decreasing as price approches line then Invalue = short and a short trade triggered if price crosses line - logiv being that if volume is decreasing then line will more likley work as resistance
hope someone can help