I have an indie with several buffers which I don't want drawn, but want the buffer values stored and arrayed of course. How can I get it to NOT DRAW anything for these buffer values?
New to coding MT4, a few question about converting my indie 14 replies
Help With Simple Alternating Arrows on MT4 Indie 2 replies
MT4 Draw Symbol instead of Arrow, Draw n instead of square 2 replies
BB Squeeze Indie - Help 2 replies
DislikedI have an indie with several buffers which I don't want drawn, but want the buffer values stored and arrayed of course. How can I get it to NOT DRAW anything for these buffer values?Ignored
DislikedI have an indie with several buffers which I don't want drawn, but want the buffer values stored and arrayed of course. How can I get it to NOT DRAW anything for these buffer values?Ignored
#property indicator_buffers 2 // 2 buffers to be drawn double CalcA[],CalcB[],DrawA[],DrawB[]; int OnInit() { IndicatorBuffers(4); // 4 buffers in total SetIndexBuffer(0, DrawA, INDICATOR_DATA); // Actually drawn SetIndexBuffer(1, DrawB, INDICATOR_DATA); // Actually drawn SetIndexBuffer(2, CalcA, INDICATOR_CALCULATIONS);// Only used for calc SetIndexBuffer(3, CalcB, INDICATOR_CALCULATIONS);// Only used for calc return(INIT_SUCCEEDED); }
Disliked{quote} #property indicator_buffers 2 // 2 buffers to be drawn double CalcA[],CalcB[],DrawA[],DrawB[]; int OnInit() { IndicatorBuffers(4); // 4 buffers in total SetIndexBuffer(0, DrawA, INDICATOR_DATA); // Actually drawn SetIndexBuffer(1, DrawB, INDICATOR_DATA); // Actually drawn SetIndexBuffer(2, CalcA, INDICATOR_CALCULATIONS);// Only used for calc SetIndexBuffer(3, CalcB, INDICATOR_CALCULATIONS);// Only used for calc return(INIT_SUCCEEDED); }Ignored