You need to look into the CopyBuffer help
Call by the first position and the number of required elements
int CopyBuffer( int indicator_handle, // indicator handle int buffer_num, // indicator buffer number int start_pos, // start position int count, // amount to copy double buffer[] // target array to copy );
Read the description especially carefully:
buffer_num
[in] The indicator buffer number.

Documentation on MQL5: Timeseries and Indicators Access / CopyBuffer
- www.mql5.com
CopyBuffer - Timeseries and Indicators Access - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Indicator name: My_Indicator.
iCustom buffers:
Buffer_7=Buy_Signal, Buffer_8=Sell_signal, Buffer_9= SL_Price, Buffer_10= TP1_Price, Buffer_11= TP2_Price, Buffer_12= TP3_Price.
buffer_7[0],buffer_8[0],buffer_9[0],buffer_10[0],buffer_11[0],buffer_12[0]--Unable to get data--Buy_Signal,Sell_signal,SL_Price, TP1_Price, TP2_Price, TP3_Price
I can't find the reason!