·Î±×ÀÎ
|
ȸ¿ø°¡ÀÔ
|
ȸ»ç¼Ò°³
|
»çÀÌÆ®¸Ê
Ä¿¹Â´ÏƼ | ¼ö½ÄÀÛ¼º Q&A
ÀÛ¼ºÀÚ :
ÂøÇÑÀÌ
ÀÛ¼ºÀÏ : 2025-05-10 ¿ÀÀü 11:06:57 Á¶È¸¼ö : 12
¼ö½Ä ¼öÁ¤ ºÎʵ右´Ï´Ù.
¾È³çÇϼ¼¿ä.
¿¹Àü¿¡ Æ®·¹Àϸµ½ºÅ¾ û»êÀü·«ÀÌ Æ÷ÇÔµÈ ÇǶó¹Ìµù ¸Å¸ÅÀü·«À» ¹®ÀÇÇÑ °á°ú ¾Æ·¡¿Í °°Àº ¼ö½ÄÀ» ÀÛ¼ºÇØ Áּ̽À´Ï´Ù.
var : HH1(0),HH2(0),HH3(0),HH4(0),HH5(0);
var : EP1(0),EP2(0),EP3(0),EP4(0),EP5(0);
if MarketPosition == 0 Then
{
if BuyCond == True Then Buy("Long1", AtMarket);
}
if MarketPosition == 1 Then
{
if CurrentContracts > CurrentContracts[1] Then
{
if MaxEntries == 1 Then
{
HH1 = LatestEntryPrice(0);
EP1 = LatestEntryPrice(0);
}
if MaxEntries == 2 Then
{
HH2 = LatestEntryPrice(0);
EP2 = LatestEntryPrice(0);
}
if MaxEntries == 3 Then
{
HH3 = LatestEntryPrice(0);
EP3 = LatestEntryPrice(0);
}
if MaxEntries == 4 Then
{
HH4 = LatestEntryPrice(0);
EP4 = LatestEntryPrice(0);
}
if MaxEntries == 5 Then
{
HH5 = LatestEntryPrice(0);
EP5 = LatestEntryPrice(0);
}
}
if MaxEntries >= 1 and H > HH1 Then
HH1 = H;
if MaxEntries >= 2 and H > HH2 Then
HH2 = H;
if MaxEntries >= 3 and H > HH3 Then
HH3 = H;
if MaxEntries >= 4 and H > HH4 Then
HH4 = H;
if MaxEntries >= 5 and H > HH5 Then
HH5 = H;
if MaxEntries == 1 and BuyCond == True Then Buy("Long2", AtMarket);
if MaxEntries == 2 and BuyCond == True Then Buy("Long3", AtMarket);
if MaxEntries == 3 and BuyCond == True Then Buy("Long4", AtMarket);
if MaxEntries == 4 and BuyCond == True Then Buy("Long5", AtMarket);
if MaxEntries >= 1 and HH1-ATR > EP1 Then ExitLong("TStop1", Atstop, HH1 - ATR, "Long1");
if MaxEntries >= 2 and HH1-ATR > EP2 Then ExitLong("TStop2", Atstop, HH2 - ATR, "Long2");
if MaxEntries >= 3 and HH1-ATR > EP3 Then ExitLong("TStop3", Atstop, HH3 - ATR, "Long3");
if MaxEntries >= 4 and HH1-ATR > EP4 Then ExitLong("TStop4", Atstop, HH4 - ATR, "Long4");
if MaxEntries >= 5 and HH1-ATR > EP5 Then ExitLong("TStop5", Atstop, HH5 - ATR, "Long5");
}
Else
{
HH1 = 0;
HH2 = 0;
HH3 = 0;
HH4 = 0;
HH5 = 0;
EP1 = 0;
EP2 = 0;
EP3 = 0;
EP4 = 0;
EP5 = 0;
}
û»êÀü·«¿¡¼ Æ®·¹Àϸµ ½ºÅ¾À» Àû¿ëÇϵÇ, ¹Ýµå½Ã û»ê°¡°¡ ÁøÀÔ°¡º¸´Ù ³ôÀº °æ¿ì¿¡¸¸
Àû¿ëµÇµµ·Ï ¿äûÀ» µå·È´Âµ¥, °£È¤ ÁøÀÔ°¡º¸´Ù ´õ ³·Àº °¡°Ý¿¡¼ û»êµÇ´Â
°æ¿ì°¡ ¹ß»ýÇϰí ÀÖ½À´Ï´Ù.
±×·¡¼, ¾Æ·¡¿Í °°ÀÌ º¯°æÀ» ÇØº¸¾ÒÀ¸³ª, ±×·¡µµ ÁøÀÔ°¡º¸´Ù ´õ ³·Àº °¡°Ý¿¡¼ û»êµÇ´Â
°æ¿ì°¡ ÀÖ¾ú½À´Ï´Ù.
¾Æ·¡ÀÇ ¼ö½ÄÀÌ ¾Æ´Ñ 100% ÁøÀÔ°¡º¸´Ù ³ôÀº °¡°Ý¿¡¼ û»êµÇ´Â ¼ö½ÄÀ» ºÎʵ叮°Ú½À´Ï´Ù.
°¨»çÇÕ´Ï´Ù.
if MaxEntries >= 1 and HH1-ATR > EP1*1.1 Then ExitLong("TStop1", Atstop, HH1 - ATR, "Long1");
if MaxEntries >= 2 and HH1-ATR > EP2*1.1 Then ExitLong("TStop2", Atstop, HH2 - ATR, "Long2");
if MaxEntries >= 3 and HH1-ATR > EP3*1.1 Then ExitLong("TStop3", Atstop, HH3 - ATR, "Long3");
if MaxEntries >= 4 and HH1-ATR > EP4*1.1 Then ExitLong("TStop4", Atstop, HH4 - ATR, "Long4");
if MaxEntries >= 5 and HH1-ATR > EP5*1.1 Then ExitLong("TStop5", Atstop, HH5 - ATR, "Long5");
Á¤ÁßÈ÷ ºÎŹ µå¸³´Ï´Ù.
ÁöÇ¥Àüȯ ¿äû
°ü·Ã ±Û ¸®½ºÆ®
ÇöÀç±Û
¼ö½Ä ¼öÁ¤ ºÎʵ右´Ï´Ù.
ÂøÇÑÀÌ
2025.05.10
12
Re : ¼ö½Ä ¼öÁ¤ ºÎʵ右´Ï´Ù.
¿¹½º½ºÅ¹
2025.05.12
7